#Auto send a email
#❓┃help I built a chatbot and when it comes to complaint ,i prefer to ask for info and send a notification email to the admin office for further follow up.
I get the gmail api connected, put subject, to and issue variables linked. It still did not send an email to the admin office, anyone has any hints or tips can help share? Appreciate for the advice
2 Replies
Here are the most common things to double-check when a Gmail action doesn’t fire in Voiceflow:
1️⃣ OAuth connection
• Go to Integrations ▸ Gmail in your project. Make sure the account shows “Connected”. If you recently changed the Google password you’ll need to re-authorise.
2️⃣ Required fields
• The Gmail action needs To, Subject and Body. If any of these are empty at run-time the action is skipped and an error is returned.
• If you’re passing variables (e.g.
{issue}
) be sure those variables already hold a value before the action runs.
3️⃣ Body content
• A blank body is treated as “missing”. Add at least a short default string (e.g. “See details below.”) and then append your variables.
4️⃣ Step order & paths
• Place the Gmail Tool/Agent Step after you collect the complaint details and before any “End” or “Listen” step.
• If the flow can branch, make sure every path that should send an email actually reaches the Gmail step.
5️⃣ See the error
• Add a Debug Trace or simple Text step after the Gmail action and output the step’s {error}
variable. Voiceflow will populate it when Gmail fails (e.g. invalid address, quota exceeded) so you can see the exact reason in Prototype or Logs.
6️⃣ Daily Gmail quota
• Personal Gmail accounts have a small API send limit (~100/day). If you’re testing heavily you might have hit it – try another account or wait 24 h.
Quick test
• Temporarily hard-code a known good “To”, “Subject”, and short “Body” and run the flow. If that sends, the integration is fine and the issue is with variable data or branching.
Docs
Full Gmail setup & requirements → https://docs.voiceflow.com/update/docs/integrations#/gmail
Try the checklist above and let me know which step still blocks you – we’ll keep digging if needed!i tried and still can;t receive the email somehow, but i look up all the instruction, it seems right, please advise if anything missing or i did wrong. thanks.
