Archeus
Archeus
TTypebot
Created by Archeus on 2/18/2024 in #help-and-questions
Typebot embed on GatsbyJS
Hey everyone, I'm reaching out for some guidance on integrating the Typebot into our Gatsby website. We've been following the embed instructions tailored for React - standard (embed in a container on a site). import { Standard } from "@typebot.io/react"; const App = () => { return ( <Standard typebot="XYZ" style={{ width: "100%", height: "600px" }} /> ); }; Everything seems to work perfectly when running on a local server. However, the moment we try to deploy our site on Netlify, we encounter an error: https://i.gyazo.com/2afe4ca0a0ffd90a5bae3ed088f0139d.png Does anyone have any insights on how to tackle this issue? I'd really appreciate any suggestions or advice you all might have. This is a huge blocker for me right now.
4 replies
TTypebot
Created by Archeus on 1/17/2024 in #help-and-questions
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!
9 replies