Overview
Inbound email allows your AI agent to receive emails and automatically respond based on your workflow configuration. This enables bi-directional email conversations with customers.Prerequisites
Before setting up inbound email:- Complete outbound email setup
- Wait for DNS to fully propagate (30-60 minutes after outbound setup)
- Ensure your sending configuration is verified
Step 1: Access Inbound Configuration
- Navigate to Settings → Email Sending
- Click the Inbound tab
- You’ll see the option to enable inbound parsing
Step 2: Add MX Records
To receive emails, you need to add MX (Mail Exchange) records to your DNS:
MX Record Configuration
Add the following MX record to your DNS:MX
@ (or blank, representing your subdomain)For
[email protected], this would be elegimx.sendgrid.net10
Adding MX Records to Your DNS Provider
The process is similar to adding CNAME records:1
Access DNS Management
Log in to your DNS provider and navigate to DNS management
2
Add MX Record
Click “Add Record” and select “MX” type
3
Enter Values
- Host: Your subdomain or @ for root
- Priority: 10
- Points to:
mx.sendgrid.net
4
Save Changes
Save the record and wait for DNS propagation (30-60 minutes)
Step 3: Create Inbound Email Node
In your Cloom AI workflow:- Click Create Agent Journey or Start & Integrate
- Select Incoming Email as the start node type
- Navigate to the Email Addresses tab
Step 4: Assign Email Addresses
Specify which email addresses should trigger this workflow:Email addresses that will trigger this workflowExample:
[email protected]
Each email address can only be assigned to one workflow at a time. The system prevents duplicate assignments.
Email Routing
Configure how your AI handles incoming emails:Route Configuration
Unlike voice calls, email routing works with automatic follow-ups:- Navigate to the Routes tab on your incoming email node
- Click + Add Custom Route
- Configure route settings
Follow-up Email Prompt
Set up instructions for the AI when responses are received: Mandatory Variables- Select which variables MUST be extracted before moving to the next node
- The AI will send follow-up emails asking for missing information
Example
How Email Routing Works
1
Email Received
Customer sends an email to your configured address
2
AI Analysis
The AI analyzes the email content and selects the appropriate route
3
Variable Extraction
The AI attempts to extract all mandatory variables
4
Follow-up (if needed)
If variables are missing, the AI sends a follow-up email requesting them
5
Route Completion
Once all mandatory variables are collected, the workflow proceeds to the next node
Example Email Flow
Testing Inbound Email
To test your inbound email setup:- Ensure your workflow is activated (toggle in top left)
- Send an email from your personal email to your configured address
- Wait for the AI response (typically within 1-2 minutes)
- Reply to test the conversation flow
- Check Email Logs to review the interaction
Best Practices
Clear Variable Requirements
Clear Variable Requirements
Clearly specify what information you need in your routing instructions
Professional Tone
Professional Tone
Configure your brand voice to maintain professionalism in email responses
Response Time
Response Time
Monitor average response times to ensure customers receive timely replies
Knowledge Base
Knowledge Base
Upload relevant documents so your AI can provide accurate information
Escalation Path
Escalation Path
Create routes for complex issues that should be forwarded to human agents
Email Logs
View all email interactions:- Navigate to your workflow
- Click the menu in the top right
- Select Email Logs
- Original email content
- AI responses
- Variables extracted
- Routes taken
- Conversation threads
Variables in Emails
Use extracted variables in subsequent email nodes:Troubleshooting
Not Receiving Emails
Not Receiving Emails
- Verify MX records are correctly configured
- Check DNS propagation (can take up to 48 hours)
- Ensure the email address is assigned to a workflow
- Confirm the workflow is activated
- Test by sending from different email providers
AI Not Responding
AI Not Responding
- Check Email Logs to see if the email was received
- Verify routing instructions are clear
- Ensure the workflow isn’t paused or erroring
- Review knowledge base documents for relevance
Variables Not Extracting
Variables Not Extracting
- Make mandatory variables clear in your instructions
- Review email logs to see what the AI extracted
- Adjust routing instructions to be more specific
- Test with sample emails containing the expected data
Emails Going to Customer Spam
Emails Going to Customer Spam
- Verify SPF/DKIM records from outbound setup
- Check domain reputation
- Avoid spam trigger words in email content
- Include an unsubscribe option