Redirect a typebot chat to human agent
Hey everyone,
I'm working on a setup where the user initially interacts with a bot, and then, upon choosing, can switch to a live human agent. The catch is, this transition happens only after they've completed a payment through Stripe. Here’s the flow I’m envisioning:
1. The user starts chatting with our automated bot.
2. At some point, they opt to connect with a human agent.
3. We send a payment request using Typebot-Stripe integration.
4.Post successful payment, the user gets redirected to a human agent.
5. I've noticed there's an integration available with ChatWoot, but it doesn't seem quite seamless – it opens up a new chat window, which isn't ideal.
I want to keep the user in the same chat window when they switch to a human agent.
What's the best way to make this happen?
Should I be looking into specific APIs, maybe something like Slack or ChatWoot APIs?
Has anyone tried something similar and can share their insights?
Thanks in advance for any help or suggestions!
7 Replies
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
What would be the best course of action if I wanted to achieve this myself?
Using Chatwoot API?
https://www.chatwoot.com/docs/product/channels/api/receive-messages/
Receive messages using callback URL | Chatwoot
When a new message is created in the API channel, you will get a POST request to the Callback URL specified while creating the API channel. The payload would look like this. Find the full list of events supported by the webhook here.
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
we use chatwoot and it looks fantastic in the same popup windows as typebot
What do you mean exactly?
Do you use the Typebot with the Chatwoot integration?
Or the other way around?
That makes sense. Thank you so much for explaining this on the example.
i use native chatwoot integration and for the visitor , it my impression, it looks good a little change of UX when chatwoot appears in popup, they realize they are talking with a human, not bot.
Test it, i like it
I definitely will. Thank you so much for explaining me this!
You guys made my day.