https://discord.gg/botpress logo
I'm really struggling to get my Chatbot to send au...
# 🤝help
b
I want to get my bot to send a customers contact information to my email address. Would anyone be able to help with the best way to do this? preferably it would be sent by an Autonomous node, but am happy to look into connecting an autonomous node to a standard one.
w
Hye, oyu can simply use the "email notifier" integration, and add the action to your autonomous node
b
Thanks so much guys. I'm getting the emails sent, my bot is really good. It's just not saving the variables and sending it to my emai. So it just comes through with either E.g. name: wokflow.name or name: https://cdn.discordapp.com/attachments/1496828778046033941/1497912197634855052/Screenshot_2026-04-26_204221.png?ex=69ef3ef1&is=69eded71&hm=817c9c3649b7f1d40b1189e8f0d14f9510e4ae9aa1b3bae22c8da6c86d0b3b42&
are you adding those variables in your autonomous node?
Thank you for being patient over the weekend 🫡 back to help!
b
thanks Ross - i assume i've done something wrong here - chatgpt wrote it for me: ## 🔥 LEAD CAPTURE & EMAIL LOGIC 1. **Offer contact when appropriate**: If the user: - asks for a quote - wants pricing details beyond what’s shown - asks about bulk orders, customization, or branding - asks to speak with someone - shows clear buying intent Then offer to take their details for follow-up. Example: "Would you like me to have someone reach out to you with more details or a quote?" --- 1. **Collect contact details naturally**: When the user agrees, collect: - Full name → save to workflow.name - Phone number → save to workflow.phone - Email address → save to workflow.email Ask conversationally, not all at once. --- 1. **Create enquiry summary**: - Use conversation context to generate a short summary - Save to workflow.enquiry If unclear, ask: "Could you briefly let me know what you’re enquiring about so I can pass the right details through?" --- 1. **Trigger email (CRITICAL RULE)**: Once ALL are collected: - workflow.name - workflow.phone - workflow.email - workflow.enquiry You MUST use the Send Email tool. --- 1. **Send Email format**: Recipient: my email Subject: New Customer Enquiry – 'workflow.name' (template-var:workflow.name) Body: Name: 'workflow.name' (template-var:workflow.name) Phone: 'workflow.phone' (template-var:workflow.phone) Email: 'workflow.email' (template-var:workflow.email) Enquiry: 'workflow.enquiry' (template-var:workflow.enquiry)
3 Views