Hello everyone, I would like to keep my WhatsApp flow within Chatwoot.
To do this, I thought about creating a webhook in n8n and creating a Bot in Chatwoot that addresses n8n.
n8n would receive this webhook, call a method to create or retrieve an existing chat. From there, it would mediate between Chatwoot and Typebot.
Currently, for this, I would need to keep the sessionId and relate it to the conversation ID in Chatwoot. I didn't want to use a database for this, so my question is:
I would like to know if it is possible to pass variables from one Flow to another.
To avoid making it big and confusing, I'm creating a bot and breaking it into different flows and using the Typebot card to link one flow to another.
So I would like to know if it is possible or not.
Example: AuthFlow
In this flow I would identify the customer through an internal process, sending an SMS. When confirming, I would store data such as the customer's ID and name to use in other flows, for example:
FinanceFlow, if I already know who the user is I just provide the options such as obtaining an invoice, if I don't have the user ID I would send it to AuthFlow
ServiceFlow, if I already know who the user is, I provide a personalized flow to request a technical visit, if I don't have the user ID I would send it to AuthFlow
I noticed that in the send email option, if I don't customize it, it generates a standard HTML containing all the variables specified in the flow.
My question is whether it is possible for me to retrieve this "HTML" to call an API. I wanted to use this to generate a ticket on Odoo, I generate tickets in several places. This would help a lot, as I wouldn't need to keep reconfiguring the http request.
Guys, I did some tests by publishing a docker on my local network.
Now I linked a DNS and wanted to send my bot to some friends to see. The viewer is working, the builder is working too, but the bot presents errors due to referencing the local IP of the network.
Even after publishing a bot, the link presented in "Your typebot link" presents the local IP for access.
The only thing I did was update the URLs in the .env and rebuild my docker images. Is there any reference in the database?
I was creating a chatbot for testing, until I decided to test the email feature.
It worked like a charm, I received the details in the email with a link to see other sessions.
I clicked on that link and from there I went to my flow, I made a lot of changes. A lot of changes indeed, so with my thousands of tabs open, I clicked on the tab I was using before clicking on the link in the email. And unfortunately for me, she over-wrote everything I had created.
My constructive suggestion: Whenever you edit a bot, a token must be generated for that UI. The system would never allow two people to edit the same BOT, when another tab is opened the old one would have its token expired and would not be able to send new updates to the backend. A popup (you are editing this bot in another tab, it could be useful along with there is a button to "update the UI") getting a new token along with the updated bot, invalidating the other tab.