Share feedback, ideas and get community help

Updated 6 months ago

Bug: Type bot don't stop sending email (300+ emails from one submision)

Hi guys,
I'm having a big issue with Typebot: It's sending massive emails all day. I recently created a bot where I collected some leads. But when I posted it, it got stuck on the collection of the phone number, and after that, the chat didn't move forward to the next chat bubble. However, the integrations (SpreadSheet) and email automation kept going on. As a result, the chat was frozen from the user end, but it was sending emails and integrating on the backend. However, the biggest issue is that once the email was sent, it didn't stop sending emails all day. So, we have received over 300+ emails from yesterday at noon until today. I'm trying to fix it but haven't found any solution.

I have already done some tests where I:
  • Disconnected the email automation from the flow
  • Deleted that section from the flow
  • Unpublished the flow
  • Disconnected my sending email addresses from Typebot
  • I deleted the flow
  • And I even deleted the email address from my server
So, although I already deleted the flow and deleted my email from the server, I'm still getting repeated emails.

Among the issues, I noticed that
  • After collecting the phone number, this didn't move forward
  • The "Wait" logic didn't work on any of the flows.
So, please!!! I need help, I'm afraid this issue will burn my domain.

I share a Screenshot of my flow and the initial error report I got:

{
"status": 408,
"body": {
"message": "15 seconds timeout reached",
"code": "TIMEOUT",
"data": {
"code": "TIMEOUT",
"httpStatus": 408,
"path": "continueChat"
}
}
}
Attachment
flow.jpg
T
B
56 comments
Bug: Type bot don't stop sending email (300+ emails from one submission)
Bug: Type bot don't stop sending email (300+ emails from one submision)
@Baptiste any suggestion will be very appreciated πŸ₯²πŸ™
That's indeed strange.
I'm investigating now
I just can't reproduce the issue. One question, can you reproduce the bug in Test mode?
I can't. I deleted the flow hoping to stop the emails and recreated a new flow again with similar sequences. But, I still get the emails even when the sending email address is no longer on my Typebot flows. I can share my Typebot user account so you can check it. Because after all I still getting emails.
Attachment
IMG_8809.png
Unfortunately I can't find any issue on my end. I duplicated your bot and tried it out, it worked as expected.
Note that you can't wait for several seconds like that
Did the timeout error happened after replying to Habitacionales or Comerciales?
I see the subjects in your email client screenshot are {{Nombre}}, agrego el link para cotizar
Habitacionales. And it got frozen on the phone number and didn't move forward to the other bubbles - this also happened in the test mode.
But in your bot, it is {{Nombre}}, te agrego el link para cotizar los lotes | CaptoCapital.com.mx
So I'm thinking you did not provide the same bot version?
Oh so you can reproduce in Test mode?
Test mode should not send any email so can you record your screen to show me?
It was the same bot and I made some changes after the issue. But once the emails didn't stop arriving I stopped the changes and started to delete parts of the fow, deactivate bot etc. So I wrote in the support section. And since it was from Saturday, I was forced to delete the flow hoping to stop the madness.
So at some point, you most likely introduced an infinite loop with a Send email block in it.
I confirm that your new version here does not have any inifinite loop.
But indeed, maybe it triggered several email sending and now it is throttle by our email service and it sends it gradually
No, I deleted bot. Then I recreated it again. But, I think that I exported the original before deleting it.
It will stop at some point
Well, the original flow had the same sequence as the new one. It was a linear sequence. All started failing when I added the β€œWait” section and wrote 300sec.
I just tested it out, it did not fail on my computer so I don't know what to say πŸ€”
Do you think so? It has already been almost two days. Could this flag my domain?
And the email subject not being the same suggested that you changed your bot
Can you provide info about the email? The sender, the recipient
I can try to remove any email sending for that particular recipient
The bot you see in my account is brand new. I recreated it after deleting the original that failed. This new works fine and its using a different sending email address. One note is that the deleted one started from a duplicated bot from a duplicated bot.
Ok, thank you for the info!
Then all I can do is removing temporarily any email sending for a particular recipient if you'd like
I will implement something to avoid that kind of behavior in the feature. I'm tracking it here: https://github.com/baptisteArno/typebot.io/issues/1553
I have 2-3 recipients. But they are useful since are personal emails and help to test bots. But, the sender is one email address. Can you do something about the sending address?
And btw, my old bot (the one that I deleted) was working fine too; I tested it many times and all was good. There were no issues and emails were sent correctly. The bug/problem started when I added the β€œWait” step; one wait step in between both emails.
And if you add the β€œWait” step now, this will not work. The emails are sent immediately. Therefore I think that there is something wrong with the β€œWait”.
Oh so your are using your own SMTP credentials?
Right, the Wait block is not meant for this. You can't delay block execution like this
The wait block is meant for waiting before text bubbles
Then I can't do anything. You should check your email service and block the addresses
In my post I mentioned that I deleted the sending email address from my email service (Siteground), so in theory, TypeBot shouldn't send any other email for two reasons: I disconnected the sending email address from TypeBot and I deleted the sending email address from my email service. But, TypeBot still sending emails, so it should be stopped from your side.
I wasn't aware of that since there is not information about that point.
Why would you blame Typebot for that then? The issue definitely comes from Siteground if you removed the sending address but it still sends the emails
Typebot is not responsible for sending emails ultimately it just asks the email service to send the email
I'm not blaming anyone. I'm saying that I shouldn't receive any emails I automated in Typebot, but I still getting them. So, I'm asking for help since all the issues started in TypeBot, so if you can't fix the problem and instead of feeling offended, you could just recommend checking the issue with Siteground; in an objective way. After all, you have a point to start checking (since it needs to be proved).
Anyway, I will check with them and let you know.
Sorry for the miscommunication, I did not feel offended at all. I'm just trying to help you make sense of all this πŸ™‚
No problem. Thanks!
And just to be clear. This problem started when the bot I created started to fail and got stuck while collecting data. So although I will try to solve the problem with Siteground, this issue should be considered to avoid future ones since it started on typebot. Cheers
@Baptiste sorry for bothering you again. I checked with Siteground and they mentioned that the email address was deleted property from their end and that there are none queued or outgoing emails in my account the last two days. They suggest double-checking with you to ensure that the email addresses are no longer present in the TypeBot server. Because although it was deleted the emails are still sent with the Setups previously created on Typebot which indicates the source of origins for those specific emails. Can you please help me here? Thanks
@Baptiste, any solution? I still getting the emails created on Typebot.
There must be a queue somewhere, but not on Typebot!
The Typebot backend is serverless, we don't have a stateful server so it can't continually send email. So there is no way this comes from Typebot 😦
It even has a hard timeout for each API execution of 120s
Sorry I can't guess of any other reason you still receive emails
@Baptiste Update. I stopped getting emails periodically. But it took so long. It was, as you mentioned, that could happen with the Typebot email addresses but in this case, with mine too. Anyway, it got corrected. Thanks for the assistance! πŸ‘
Add a reply
Sign up and join the conversation on Discord