Verify and update CRM data with subtasks
Updated
Who can do this: Super Admins, Creators and Integrators
You can show customers a value from your CRM in a task, let them correct it, and send the corrected value back to Salesforce or HubSpot. This keeps your CRM accurate without asking customers for information you already have.
There are two ways to do it. You can link a subtask's answer to a CRM field, or you can display the value with a merge field and write the correction back with a project automation.
Before you begin
Connect Salesforce or HubSpot under Settings > Integrations+.
The project must be linked to a CRM record when it's created. The CRM write goes to that record.
Link the answer to a CRM field
A subtask answer can be filled in from the CRM and write changes back, with no automation. Data source shows only for an answer input that can be pre-filled. Linked to a CRM field shows only while OnRamp can reach your CRM connection.
In the task builder, select the answer input you want to fill from the CRM.
Under Data source, select Linked to a CRM field.
Choose the CRM object and the CRM field. To write answers back, choose a field the CRM lets OnRamp write to.
Under Sync direction, select Keep writing to the CRM or Keep both in sync.
Sync direction starts at Fill once at project creation. Keep writing to the CRM and Keep both in sync show a lock icon and can't be selected when OnRamp can't write to the CRM field, such as a formula field or a read-only field.
With Keep writing to the CRM, an answer given in OnRamp writes to the CRM, and a change in the CRM doesn't overwrite it. With Keep both in sync, changes go both ways, and the more recent change wins on a conflict. For every option, see Pre-filled subtask answers.
Show the CRM value with a merge field
To display the value on file, put a merge field in the subtask's text. For example: Your billing contact on file is: {{Billing Contact}}
In the task builder, open the subtask's text.
Enter a forward slash (
/) and select Merge Field.Choose the merge field to insert.
A merge field holds a CRM value only when the workflow that creates the project maps it to a field on the trigger record. It can also hold a system value or a static value. A CRM value in a merge field is filled in when the project is created. A CRM field that's empty at that point shows blank, and later changes in the CRM don't appear. For setup, see Create and use merge fields.
Then add a Text Input subtask where the customer can enter the corrected value.
Write the corrected value back with an automation
Contributors and Collaborators don't see a project's Automations tab. On a project, Create shows only if you can edit the project's settings. On a playbook, it shows only if you can edit the playbook and the version you're viewing can be edited.
Open the Automations tab in your playbook or project.
Select Create.
Choose the trigger and the task that holds the correction. In a playbook, the trigger is When task completed. In a project, it's Task completed.
Select Add Action, then choose Update Salesforce field or Update Hubspot field.
Choose the object to update. In a playbook, it's labeled Object to update. In a project, it's Salesforce Object Entity for Update Salesforce field and Hubspot Object Entity for Update Hubspot field.
In a playbook, set Field to use as reference.
Under Map fields to update, choose the CRM field under Update this field and the correction subtask under With this data. One action can map several fields on the same object. Add another action only for a different object.
Select Create.
When the task is completed, the action updates the CRM record linked to the project. If no single record matched when the project was created, the action fails. OnRamp skips any mapping whose answer is empty, so it never writes a blank value. If every mapping is empty, the action logs an error and updates nothing.
Optional: Write the value as soon as the customer answers
On a project's Automations tab, you can choose the Subtask completed trigger instead. The action runs while the task is still in progress. Only subtasks answered before the triggering one have a value, and a mapping whose answer is still empty sends nothing.
If something doesn't work
The merge field shows blank: check that the CRM record had the field filled in when the project was created.
The action shows No salesforce integration setup: select Connect with salesforce to set up the connection on Integrations+.
The automation didn't run: check that the trigger has the correct task selected. For more causes, see Project automation didn't run or failed.