Articles in this section
Authenticate Emails with SPF, DKIM, and SenderID Auto forward your emails to Vtiger Automate Outgoing Emails in Email Settings Managing User Profiles Automation - Approvals Automation - Assignment Rules Set up Multi-path Workflows Creating a Scheduled Workflow Automation - Workflow Scheduler Workflows in Vtiger CRM Webforms in Vtiger CRM Set up a Workflow Action to Create Event Set up a Workflow Action to Create Records Set up a Workflow Action to Create Task Set up a Workflow Action to Invoke Custom Function Set up a Workflow Action to Create an SMS Task Workflow Action to Update Fields Automation - Webhook Workflow Automation - Expressions Workflow Configuration - Business Hours Configuration - Company Details Configuration - Consents Configuration - Customer Portal Maps in Vtiger CRM Configuration - Usage Details Configuring Encrypted Data Fields in Vtiger CRM Configure Picklist Dependencies Considerations for Deactivating Vtiger Users Control Fields and Record Displays using Configuration Editor Create Reminders for Records and Inbox Create a field of a Grid type Dealing with Currencies and Taxes Enable Desktop Notifications on Chrome Web Browsers Vtiger CRM Add-ons IMAP Configuration - 2-way sync between Vtiger and IMAP providers Setting up Autopay & Payment Gateways Inventory - Tax Management Inventory - Terms and Conditions Login to Vtiger on SSO SAML using ADFS Mailroom Functionality for Different Scenarios Manage Multiple Currencies Marketing and Sales - Deal to Project Mapping Marketing and Sales - Lead Conversion Data Mapping Marketing and Sales - Profile Scoring Module Management - Labels Editor Module Management - Module Numbering Configure My Preferences Feature My Preferences - Calendar Settings Tags in Vtiger My Preferences - Notification Preferences SAML Support in Vtiger CRM Vtiger Mailroom Settings - Configure Module Settings Settings - Create Dynamic Fields and Layouts Module Management - Creating a Relationship Between Modules Settings - Customize Records and Fields for your Business Settings - How to set email autoresponder to Webform submission? Settings - Left Menu Settings - Manage Global Picklists in Vtiger Settings - Set up your Support Team Settings - Start Up Page Settings - Working with Picklist Values Module Management - Module Builder Support - SLA Policies Troubleshooting Login Issues Add-Edit Unsubscribe Links in your Email Template User Management - Authentication User Management - Encrypted Field Access Logs User Management - Groups User Management - Login History User Management - Profiles User Management - Roles User Management - Settings Log User Management - Sharing Rules User Management - Users User Management - Vtiger Support Access Vtiger Buzz - Chrome Extension for Notifications Vtiger Implementation wizard Vtiger Language Support Configuring Websense Trackers Websense - Widgets Module Management - Modules Module Management - Module Layouts & Fields Generate and Manage Third-party App Passwords in Yahoo Configuring App Passwords for Gmail Outgoing Server and Yahoo Mail Configuration - Storage Guard Customizing your Self-Service Portal Theme Using CSS Styles Automation - SMS Reply Actions Adding Hidden Fields to a Webform Configuring Dependent Fields and Blocks for Modules Auto forward Emails from Microsoft Office 365 Adding Custom Module Login Page Customization Settings - Personalize Module Layouts Duplicate Prevention in Modules Formula Fields Creating Custom Filters Adding a local DNS Entry

Set up a Workflow Action to Send Mails

Set up a Workflow action to send emails from Vtiger CRM.
R
Ruba
15 Jul, 2025 - Updated  3 hours ago

Feature Availability

Vtiger Editions: One Pilot | One Growth | One Professional | One Enterprise | One AI


Introduction

Workflows allow you to automate the process of sending emails. The Send Mail action lets you specify the sender, receiver, and write the email body. The CRM sends an email to the recipient every time the workflow is triggered.

For example, you can set up a workflow to send a thank-you email whenever a lead is generated through your website. All you need to do is set up the workflow trigger as leads that are generated through the website and set up the email action.

Apart from defining the trigger and action, there are additional components that need to be configured to complete a workflow setup. To learn more about workflows, click here.

In this article, you will learn about:

  • Accessing the Workflow Page
  • Setting Up a Workflow to Send Email
  • Components of the Send Mail Workflow Action


Setting up the Send Mail Action

Using the example stated above, let us learn how to configure the workflow action. Follow these steps to set up the Send Mail action.

Section 1: Accessing the workflow page

  1. Log in to the CRM.
  2. Click the User Menu on the top right corner of the screen
  3. Click the Settings button. The Settings page opens.
  4. Look for the Automation section.
  5. Select Workflows.
 
  1. Click the +New Workflow button.
  2. Select the Standard option.


Section 2: Entering the basic information

  1. Enter or select the following details:
    1. Workflow name: Enter the workflow name as Send Mail Based on Lead Source.
    2. Target module: Select Leads as the target module.
    3. Status: Set the status to Active.
    4. Description:  Enter a description that explains the purpose of the workflow action.


Section 3: Select the workflow trigger

 
  1. Select the Workflow Trigger - Lead creation.


Section 4: Set up the workflow entry criteria

 
  1. Click the +Add Condition button.
 
  1. Follow the steps below to add the condition: Lead Source is Website.
    1. Select Lead Source from the first drop-down and is from the second.
    2. Click on the text area on the right.​​​​​​
    3. Select Raw text from the drop-down.
    4. Click on Select an option.
    5. Choose Website.
    6. Click Save.


Section 5: Set up the action

 
  1. Click the Add Action drop-down.
  2. Select Send Mail. This opens a window where you must set up the email.
 

  1. Enter the Action Title. Enter or select the following details:
    1. ​​​​​​​From, Reply To, To address, Subject: Set who the email is from, who will receive replies, the recipient's address, and the subject.
    2. Record field: Insert values from specific record fields into the email.​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    3. Merge an email template: Use a predefined template with dynamic field mapping.
    4. Insert documents: Attach related documents from the CRM to the email.
    5. Insert payment links and signature: Add payment URLs and the sender’s email signature.
  2. Click Save to save the email action.
​​​​​​​
 
  1. Click Save to save the workflow.

The workflow is now ready to automatically send emails based on the defined conditions.

 

Components of the Send Mail Workflow Action

Let us look at each of the action components in detail while setting up the workflow action to send an email.
 

Section 1: Specifying From, Reply To, To addresses, and Subject

  • From: This is the sender’s email address. You have the following options to choose from:
    • Enter a From address - This lets you enter an email address manually.
    • Helpdesk support email ID - Use the email address set up under Settings > Configuration > Email Settings as Helpdesk Email.
    • Assigned To: (Users) Primary Email - Use the email address of the user to whom the lead is assigned.
    • Last Modified By: (Users) Primary Email - Use the email address of the user who last modified the lead record (check the Last Modified By field in the lead record).
    • Created By: (Users) Primary Email - Use the email address of the user who created the lead record (check the Created By field in the lead record).
  • Reply To: This is the email address that can be replied to by the leads. You have the following options to choose from:
    • Enter a From address - Lets you enter an email address manually.
    • Helpdesk support email ID - Use the email address set up under Settings > Configuration > Email Settings as Helpdesk Email.
    • Assigned To: (Users) Primary Email - Use the email address of the user to whom the lead is assigned.
    • Last Modified By: (Users) Primary Email - Use the email address of the user who last modified the lead record (check the Last Modified By field in the lead record).
    • Assigned To : (Users) Reports To - This is the email address of the user to whom the case assignee reports to.
  • To: This must contain the lead’s email address.
  • Subject: This is the subject of the email. You can embed fields from the Leads module in the subject by choosing them from the drop-down on the right side.


Section 2: Embedding fields into the email body

  • Add Record Field: When you select a field from this drop-down, it gets embedded into the email body. The fields that are shown here are specific to the Leads module, such as Last Name, Primary Email, etc.
  • You can choose to make Comments either Public or Private when configuring a Send Email action in a Workflow.
    • Go to the Add Record Field section within the action.
    • Select the Comments field.
    • Choose between:
      • Private Comments (from 1 to 5)
      • Public Comments
  • General Fields: This drop-down contains general fields like Current Date, Time, and Support Email, which help in customizing the email content. 


Section 3: Merging an email template with the email body

  • Add Merge Template: Enable the checkbox to merge an email template with the email body. You can merge the template in two ways:
    • As a link - Inserts the email template link, which in turn displays the template in the sent email.
    • As an attachment - Inserts the email template as an attachment in the sent email. 


Section 4: Inserting documents into the email body

  • Insert Related Matching Documents: Enable the checkbox to add a document to the email. The document that you want to attach must be specified with the help of conditions. 
  • For example, if you set up the condition - Document title equals to Thank you note for leads, then the link of the document that has the specified title gets embedded in the email.

Note: PDF files are added as links in emails, and non-PDF files are added as attachments.


Section 5: Inserting links and signatures into the email body

  • You can attach files or insert documents or appointment links into the email body by clicking the Insert Links drop-down. Scroll down to the Rich Text Area to find the drop-down.
  • Just above the Rich text Area, in the top right corner, you will find the Insert Signature option. The signature can be set up under My Preferences.

Note: You can attach a maximum of three files. The total file size must not exceed 25 MB.

To learn more about documents, click here. To learn more about appointment pages, click here.


Section 6: Inserting Payment Links into your Email Body

  • You can include a payment link in your emails when creating a Workflow. 
  • For example, you can attach a payment link directly to each invoice email sent to customers, allowing them to associate their payment with the specific invoice. This streamlines the payment process, enabling quick decision-making, reducing confusion, and minimizing follow-up communication.
  • Once the Payment Link field is added, the Default Gateway Payment link will automatically appear in the email body when the Workflow is triggered. 
  • The payment link can be accessed in the email Activity section of the email record and in the recipient’s email.

To learn more about configuring payment gateways in Vtiger, click here.
 

References


 
Home Privacy Policy Terms of Service Security Center Policy & Legal Center Contact Us
© Copyright 2025 Vtiger. All rights reserved.
Powered by Vtiger
Facebook Twitter Linkedin Youtube