Map account data fields in a workflow
Updated
A workflow's Data Fields card sets data field values on the project it creates and on that project's account. Project fields can also pull values from the linked CRM account, not only from the record that triggered the workflow.
Before you begin
To fill the Account Data Fields section, your organization needs active account data fields. See Create and use data fields in OnRamp.
To read values from the linked CRM account, set the workflow's account step to From trigger object or From related object. If you pick a Fixed account, no account fields are offered. See Set up a workflow to create projects.
How the card is laid out
The Data Fields card has two sections:
Project Data Fields sets values on the project the workflow creates.
Account Data Fields sets values on the project's account. It lists your organization's active account data fields, and it only appears when there are some.
Use the Search data fields box to filter both sections. If there are no project or account data fields, the card shows * No project or account data fields to set.
Each mapping has its own source, so you can mix account-sourced and trigger-sourced values in one card. Workflows that only map project fields keep working the same way.
Which sources each field can use
Data field type | Sources offered |
|---|---|
Text and link | Fixed, From trigger object, Merge fields |
Duration | Fixed only |
User, under Account Data Fields | Fixed only |
Other types | Fixed, From trigger object |
To build a text or link value from merge fields, see Create and use merge fields.
Map a data field
Open the workflow and select Edit from v followed by the current version number, such as Edit from v3. You need permission to edit the workflow; without it, this button is unavailable.
Go to the workflow's Data Fields card.
Find the field under Project Data Fields or Account Data Fields.
Choose a source for the field.
If you chose From trigger object, pick a field from the list.
Select Publish to make the workflow version live.
If you don't have permission to publish workflows, Publish is unavailable.
Fields in the From trigger object list
The list shows the trigger record's own fields. When the account step reads the account from the trigger record or a related record, it also shows the linked account's fields side by side.
Each entry is prefixed with the name of its CRM object. Trigger fields carry the trigger object's name. Account fields carry the object the account step links to, such as Account.<field> for a Salesforce account or Company.<field> for a HubSpot company. If no object type is known, they fall back to Account.
The list only shows fields that fit the data field's type:
Date fields list date and date-time fields, plus related lookup records you can open to find one.
Number and Monetary fields list number and percentage fields, plus related lookup records.
User fields under Project Data Fields list only the trigger record's own lookup and text fields, never the account's. A lookup adds a User email field picker. See Mapping user data fields from your CRM in workflows.
What happens when the workflow runs
Account values are written only after the project is created. A run waiting for approval doesn't change the account.
If the project's account has no linked CRM record, fields mapped from the account are skipped and logged. The run continues.
If a field has no value, or a number or monetary value can't be read as a number, that field is skipped and the run continues.
If fetching the linked account's CRM record fails, a field mapped from the account stops the run with an error. See Workflow didn't create a project.
The run's execution log shows the account values that were set.