Share feedback, ideas and get community help

Updated 11 months ago

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.
  1. 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!
V
A
a
8 comments
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/
The TypeBot flow is not entirely compatible with a live chat. I mean, with TypeBot, you're in one of two states:
1) The system is waiting for user input, and nothing else is happening.
2) The system is running, and the user can't do anything.

So, I suppose you can use the Chatwoot API, but you have to make several compromises. For example, the user sends a message and gets stuck until a human responds, being unable to send another message or perform other actions while waiting.
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.
Add a reply
Sign up and join the conversation on Discord