Skip to content

AI decisions ​

If / else and Switch can let AI choose the path.

StepYou writeThe AI returns
If / elseA yes-or-no questionYes (the True path) or no (the False path)
SwitchA clear label on every caseThe case that fits, or the default

The AI sees the trigger's values and the results of earlier steps. Each decision uses AI credits and counts towards the daily AI step limit. Use ordinary conditions wherever a value can be compared directly: they are free, instant and always give the same answer.

Set it up ​

  1. Add an If / else or a Switch step.
  2. Switch on Let AI decide.
  3. For If / else, write the question as a sentence with a yes-or-no answer. For Switch, give every case a label that says when it applies.
  4. Choose the model. Fast is enough for most decisions.

Write a good question ​

  • Ask one thing. "Is this customer complaining about delivery?" works better than "Is this customer unhappy or asking about delivery or a refund?".
  • Put the text to judge in an earlier step if it is not in the trigger, then refer to it.
  • Test with a few different sample values. An AI decision can answer differently on similar input, which an ordinary condition never does.

Cashfin Business API Documentation