Choose how a workflow handles repeat CRM records and matches accounts

Updated

Who can do this: Super Admins, Creators and Integrators

Two workflow settings decide what happens when the same CRM record reaches a workflow more than once, and whether a run links the project to an existing account or creates one. Both are on the workflow's settings panel.

Workflows are available when they're turned on for your organization. If you don't see Workflows in the menu, contact your OnRamp team.

Change the settings

  1. Go to Workflows and open the workflow.

  2. In the left panel, select the Settings icon.

  3. Under Processing Mode, choose how repeat records are handled.

  4. Under Account Matching, choose how accounts are matched.

  5. Select Save.

The change applies to the workflow right away, for every version. You don't need to publish.

Processing Mode

A CRM record can reach a workflow many times, for example each time the record is updated and still meets the trigger. Processing Mode decides whether a later event starts another run.

Option

What a later event for the same record does

Only process external objects 1 time

Nothing, once the record has a run. A run that succeeded, failed, was declined or is pending approval all count. This is the setting for a new workflow.

Process external objects until successful

Starts another run if the earlier run failed. Stops once a run succeeds, is declined or is pending approval.

Process external objects many times

Starts a run for every event. Use it only when one record should create more than one project over time.

Things to know:

  • With Only process external objects 1 time, a record whose run failed isn't picked up again by later CRM updates. Fix the cause, then re-run the failed run.

  • A run you start with Debug counts as the record's run only when it created the project.

  • A run that failed because OnRamp couldn't check the trigger conditions against the CRM never counts as the record's run, in any mode.

Account Matching

When the Project Account card reads the account from the CRM record, the run looks for an existing account before it creates one.

Option

How the run finds the account

Match by ID or name

If no CRM ID match is found, it tries matching by account name. If neither matches, a new account is created. This is the setting for a new workflow.

Match by ID only

It links an existing account only when the CRM ID matches. If no match is found, a new account is created.

Name matching ignores upper and lower case. An account that is already linked to another CRM record of the same object isn't reused. The run creates a new account.

Choose Match by ID only when different accounts in your CRM can share a name, so a run never links a project to the wrong one. Choose Match by ID or name when you created accounts in OnRamp by hand and want runs to link to them instead of creating duplicates.

More in Triggers & conditions