T
Typebot2mo ago
Veee

Help Needed: Stopping AI Loop and Triggering Zapier with Collected Variables (Order ID)

Hi Baptiste I’m currently working on building a Typebot flow for my company that integrates with ChatGPT (using assistants) to help customers get real-time updates on their orders. Here’s what I’m trying to achieve: 1. I want ChatGPT to have a natural back-and-forth conversation with the customer until they provide a specific variable — such as their Order ID. 2. Once the Order ID (or required variable) is provided, I want to: • Stop the loop between ChatGPT and the customer, • Pass the Order ID and any other collected variables to Zapier, • Use Zapier to retrieve the necessary data from our database or Google Sheets, • Then display that update back to the customer and continue the conversation commercially from there. The issue I’m facing is: • I’m unsure how to properly stop the AI conversation loop once the required variable (like Order ID) is captured. • I also need help understanding how to pass the collected data to Zapier at the right moment and re-engage the bot with the returned response. Could you please guide me on how to set this up — particularly: • How to structure the flow so that the loop ends when a specific variable is received, • How to pass those variables to Zapier at that point, • And how to handle the returned data cleanly within the same conversation? I appreciate any documentation, examples, or step-by-step support you can provide.
2 Replies
Baptiste
Baptiste2mo ago
Check the "High ticket lead follow-up" template in Typebot We do exactly this
Veee
VeeeOP2mo ago
Thank ypu very much Will check it out.

Did you find this page helpful?