packages/twenty-docs/user-guide/workflows/capabilities/send-emails-from-workflows.mdx
Automatically send emails when specific events occur in your CRM—welcome new contacts, follow up on opportunities, or notify team members.
Before you can send emails from workflows:
Goal: Send a welcome email when a new person is added to the CRM.
Setup:
Create workflow: Go to Settings → Workflows and click + New Workflow
Add trigger: Select Record is Created → People
Add Send Email action:
| Field | Value |
|---|---|
| To | {{trigger.object.email}} |
| Subject | Welcome to {{Your Company Name}} |
| Body | Hi {{trigger.object.firstName}}, ... |
Reference data from previous steps using {{variable}} syntax:
Hi {{trigger.object.firstName}},
Thank you for connecting with us!
Your company, {{trigger.object.company.name}}, is now in our system.
Best regards,
The Team
| Trigger Type | Common Variables |
|---|---|
| Record Created/Updated | {{trigger.object.fieldName}} |
| Manual | {{trigger.selectedRecord.fieldName}} |
| Webhook | {{trigger.body.fieldName}} |
Goal: Send different welcome emails based on where the lead came from.
Setup:
Trigger: Record is Created (People)
Add Filter action:
{{trigger.object.source}} equals "Website"Branch for other sources:
Goal: Email the sales rep and their manager when an opportunity is won.
Setup:
Trigger: Record is Updated (Opportunities, Stage = "Closed Won")
Search Records: Find the opportunity owner's manager
Send Email #1: To opportunity owner
{{trigger.object.owner.email}}Congratulations on closing {{trigger.object.name}}!Send Email #2: To manager
{{searchRecords.manager.email}}Deal Won: {{trigger.object.name}}Goal: Send a follow-up email 3 days after a meeting is logged.
Setup:
Trigger: Record is Created (Activities, Type = "Meeting")
Delay action: Wait 3 days
Send Email:
You can attach files to emails sent from workflows. The attachment is a static file that you upload when configuring the workflow.
| Use Case | Example File |
|---|---|
| Welcome emails | Company brochure (PDF) |
| Onboarding sequences | Getting started guide |
| Sales follow-ups | Product catalog or price list |
| Event confirmations | Event details or agenda |