The Workflow
8 steps · click a step number to mark it done
Open Dify and have it ready before you start
Log in to Dify and select the Orchestrate section from the left menu
Click “Create New Flow”, give your chatbot a name (e.g., Customer Support Bot), and save
Add a Message block, enter a friendly greeting such as “Hi! How can I help you today?”
Add an Input block to capture the user’s question or request
Insert a Condition block to evaluate the input for keywords like “order”, “refund”, or “shipping”
For each condition, add an Action block that calls the appropriate external API (enter the endpoint URL and JSON payload) to fetch order status, create a ticket, etc.
Use the Preview button to simulate conversations, verify each branch works, and adjust messages or logic as needed
When satisfied, click Publish, copy the generated embed code or link, and place it on your website or support portal