Logic and AI steps
Branch on a rule, wait, call your own systems, run another flow, or let AI answer.
Branch on a rule, wait, call your own systems, run another flow, or let AI answer. Each step below says what it does, how to set it up, and a tip. In the builder, the eye icon on any step opens the short version of this page.
If / else branch
Read guide WaitPause for X minutes
Read guide WebhookCall external HTTPS endpoint
Read guide Run code (JS)Sandboxed JavaScript transform
Read guide MySQL QueryRun a read-only SQL query
Read guide Run sub-flowCall another flow
Read guide AI assistantReply with ChatGPT or Gemini
Read guideCondition
Splits the flow in two — true or false — based on a rule, like {{city}} equals "Delhi".
-
Choose what to check, usually a variable.
-
Pick the comparison and the value.
-
Connect the "true" and "false" branches.
Wait
Pauses the flow — for a set time, until a time of day, or until the customer replies.
-
Pick the wait mode.
-
Set the amount and unit, or the time of day and timezone.
-
Connect what happens after the wait.
Webhook
Calls another system over HTTPS — send data out or fetch data in — and saves the response.
-
Choose the method (GET / POST…) and URL.
-
Add headers and a body if needed — variables work.
-
Name a variable to save the response.
Run code (JS)
Runs a short JavaScript snippet to reshape data — format a date, add up prices, clean text.
-
Write the code — flow variables are available.
-
Return a value.
-
Name the variable to save it in.
MySQL Query
Runs a read-only SQL query on your own database and saves the rows.
-
Enter host, database and login.
-
Write a SELECT query — variables work.
-
Name the variable to save the rows in.
Run sub-flow
Runs another flow from here, so you can reuse common steps instead of copying them.
-
Pick the flow to run.
AI assistant
Lets AI answer the customer, optionally using your knowledge base, and can pull details like name or email out of the chat.
-
Pick the model.
-
Write a system prompt: who the AI is and what it should do.
-
Optional: attach a knowledge base and fields to extract.
-
Add exit keywords so the customer can leave the AI chat.