Set up automatic follow-up task creation#

Some customer emails require further action, such as reviewing a document, preparing a response, or following up on a request. To track these actions in Salesforce, users need to create Tasks in addition to saving the emails.

Automatic follow-up task creation lets users request a Salesforce Task while saving an email through Context Panel. Users can decide which emails need follow-up instead of creating Tasks for every saved email or creating each Task separately.

This article explains how to enable and configure this functionality for your organization.

How automatic follow-up task creation works#

The feature adds a Create follow-up task option to the Context Panel’s Save email dialog.

When saving an email, users can:

  • Select Create follow-up task if the email requires further action. The checkbox is cleared by default.

  • Optionally, specify a Follow-up due date if your organization makes this field available.

When the user saves the email, Revenue Grid creates an Email Message record in Salesforce. If the user selected Create follow-up task, Salesforce automatically creates a related Task.

The Task contains the email’s subject and body, with the configured subject prefix. Salesforce assigns the Task to the user who saved the email and applies the configured status, priority, and due date.

The Task also inherits the email’s primary related Salesforce record, where supported. After a configurable delay, Salesforce associates the Task with the first related Contact or Lead and links any attachments saved with the email.

The email remains available in Salesforce as a separate Email Message record.

Requirements#

Before setting up automatic follow-up task creation, make sure:

  • You have Salesforce administrator access.

  • You have a platform or profile admin role in Revenue Grid.

  • Your organization uses Salesforce Enhanced Email and saves emails as Email Message records.

  • Email attachments are saved as Salesforce Content Documents if you want them linked to follow-up Tasks.

Set up automatic follow-up task creation#

To enable the feature:

  1. Install the dedicated Salesforce package

  2. Grant users access to the required fields

  3. Configure the Task settings

  4. Make the follow-up fields available in Context Panel

Install the Salesforce package#

  1. Open the installation link:

    Revenue Grid follow-up task package (version 0.1.1)

  2. Sign in to Salesforce using an administrator account.

  3. Choose the installation access level:

    Option

    Description

    Install for Admins Only

    Grants access to the package only to users with the System Administrator profile.

    Install for All Users

    Grants access to the package to all users in the organization.

    Install for Specific Profiles (recommended)

    Grants access to the package only to selected user profiles. Use this option to limit access to users who need the Revenue Grid integration.

  4. If you select Install for Specific Profiles, set access for the required profiles using the provided controls. For detailed instructions, see Installing Packages.

  5. Select Install.

  6. Once installation completes, select Done.

The Installed Packages page opens, showing that the REVGRD-FOLLOWUP-TASK package is installed.

../../../../_images/installed-packages.png

Configure Salesforce field permissions#

The package includes the following fields that users need access to for follow-up task creation:

Salesforce object

Field API name

Purpose

Email Message

Create_Follow_Up_Task__c

Indicates whether Salesforce should create a follow-up Task

Email Message

Follow_Up_Due_Date__c

Stores the requested Task due date

Activity

Source_Email_Message_Id__c

Identifies the email from which the Task was created

Also, the package includes a Follow-up Task User permission set.

To grant access:

  1. In Salesforce, open Setup. See Explore the Salesforce Setup Menu.

  2. Search for and select Permission Sets.

  3. Open Follow-up Task User.

    ../../../../_images/follow-up-task-user-permission-set.png
  4. Select Manage Assignments.

    ../../../../_images/manage-assignments.png
  5. Select Add Assignment.

  6. Select the users who need access to follow-up task creation and select Next.

    ../../../../_images/select-users-to-assign-permission-set.png
  7. Verify the list of the selected users and select Assign.

  8. Select Done.

Alternatively, update the corresponding Salesforce profiles to grant the required Read and Edit permissions for the fields listed above.

Configure follow-up task settings#

The package includes a Salesforce custom metadata type named Email_Message_Follow_Up__mdt.

Its Default record controls whether Salesforce creates follow-up Tasks and which values it assigns to them by default.

You can keep the default configuration or adjust it to match your organization’s follow-up process.

To configure the settings:

  1. In Salesforce, open Setup. See Explore the Salesforce Setup Menu.

  2. Search for and select Custom Metadata Types.

  3. Find Email Message Follow-up and select Manage Records.

    ../../../../_images/manage-records1.png
  4. Open the Default record and select Edit.

  5. Review and update the settings as needed. For descriptions of each setting, see Follow-up task settings reference.

  6. Select Save.

Display the follow-up fields in Context Panel#

To let users request follow-up Tasks when saving emails, you must add the Create follow-up task field to the Salesforce Email Message page layout and configure it to appear in the Context Panel’s Save email dialog.

You can also display the Follow-up due date field so users can set a Task due date. If this field isn’t displayed or is left empty, Salesforce calculates the due date using the configured default.

Revenue Grid administrators can configure Context Panel fields for individual users or centrally through settings presets. Users can also configure the fields in their personal Context Panel settings if their organization’s configuration allows it.

Add the fields to the Salesforce Email Message page layout#

  1. In Salesforce, open Setup. See Explore the Salesforce Setup Menu.

  2. Go to Object Manager > Email Message.

  3. Select Page Layouts.

  4. Open the page layout assigned to the users who will create follow-up Tasks.

    Important

    If your organization uses multiple Email Message page layouts, make sure the fields are added to the layouts assigned to the relevant users.

  5. In the layout editor, select Fields.

  6. Drag the following fields onto the page layout:

    • Create follow-up task

    • Follow-up due date (optional)

    ../../../../_images/email-message-sf-layout.png
  7. Select Save.

Open Context Panel object settings#

Choose the configuration method that applies to your organization.

  1. Open Revenue Grid administration settings. See How to access administration settings.

  2. Go to Users.

  3. Find the user and select their name.

  4. Open the Context Panel objects tab.

    ../../../../_images/context-panel-objects-setting-individual-user.png

Important

When settings presets are used, applying a preset replaces the user’s existing Context Panel customization.

  1. Open Revenue Grid administration settings. See How to access administration settings.

  2. Go to Presets.

  3. Select the preset assigned to the target users.

  4. Open the Context Panel objects tab.

    ../../../../_images/context-panel-objects-setting-preset.png

Configure the fields#

  1. Find and expand the Email Message object.

  2. In Detailed view, locate the following fields:

    • Create follow-up task

    • Follow-up due date (optional)

  3. Select the checkbox next to each field you want to display.

    ../../../../_images/select-fields-in-context-panel-settings.png
  4. Mark the selected fields as Important to make them available in the main part of the Save email dialog.

    ../../../../_images/mark-fields-important.png
  5. Select Save.

  6. Ask users to refresh the Context Panel to apply the changes.

Follow-up task settings reference#

The Default record of the Email_Message_Follow_Up__mdt custom metadata type controls how Salesforce creates follow-up Tasks.

Available settings#

Setting

Default

Description

Enabled (Is_Enabled__c)

True

Enables or disables automatic follow-up task creation.

Subject Prefix (Subject_Prefix__c)

Follow up:

Text added before the email subject in the Task.

Due Date Offset (Days) (Due_Date_Offset_Days__c)

7

Number of days added to the Task creation date when no due date is provided.

RG Indication Field API Name (RG_Indication_Field_API_Name__c)

REVGRD__CreatedBySCC__c

Checkbox field on Task used to identify Tasks created by Revenue Grid.

Task Status (Task_Status__c)

Not Started

Status assigned to new follow-up Tasks.

Task Priority (Task_Priority__c)

Normal

Priority assigned to new follow-up Tasks.

Enrichment Delay (Enrichment_Delay_Minutes__c)

2

Delay before Salesforce associates the Task with the email’s Contact or Lead and links attachments.

Task due date#

When a user specifies a Follow-up due date in the Context Panel, Salesforce uses that date.

If the field is empty or isn’t displayed, Salesforce calculates the due date using Due Date Offset (Days).

For example, with the default offset of seven days, a Task created on October 28 has a due date of November 4.

To change the default, update Due Date Offset (Days) in the Default configuration record.

Task subject, status, and priority#

You can customize the values assigned to newly created follow-up Tasks:

  • Subject Prefix: Enter the text to add before the email subject. Leave it empty to use the email subject without a prefix.

  • Task Status: Specify the status assigned to new Tasks.

  • Task Priority: Specify the priority assigned to new Tasks.

Make sure the configured status and priority values are valid in your Salesforce organization.

Enrichment delay#

By default, Salesforce waits two minutes before associating the Task with the email’s related Contact or Lead and linking its attachments.

If Tasks are created without these relationships or attachments because the information isn’t available yet, you can increase the delay.

The supported range is 0–10 minutes.

Keep the default unless you encounter this issue.

Identify Tasks created by Revenue Grid#

The package can select a designated checkbox on each Task it creates.

By default, the field is REVGRD__CreatedBySCC__c.

You can specify another Task checkbox field using RG Indication Field API Name to distinguish follow-up Tasks created by Revenue Grid from other Salesforce Tasks.

See also#