Add affiliated accounts to projects with a workflow

Updated

Who can do this: Super Admins, Creators and Integrators

Set up a workflow so each project it creates also gets one or more affiliated accounts, next to the project's main account. An affiliated account can be an account you pick, or one read from the CRM record that started the run.

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

Before you begin

  • The workflow needs a branch with a Project Account card. See Set up a workflow to create projects.

  • The workflow's CRM connection must be working. The Affiliated Accounts table doesn't appear while OnRamp can't reach the CRM connection.

  • A published workflow is read-only. You make this change in a draft.

Add an affiliated account

  1. Go to Workflows and open the workflow.

  2. Select Edit from v<N> to start a draft.

  3. In the flow, select the Project Account card.

  4. Under Affiliated Accounts, select Click to add an Affiliated Account.

  5. Choose how the account is set:

    • Fixed: under Select customer, choose the account. Every project from this branch gets that account. If the account doesn't exist yet, enter its name in the search box and select Create Customer.

    • From trigger object: under Link External Id to Selected Field, choose the field on the trigger record that holds the account's CRM ID. Then, under Field to Create/Find Customer Name, choose the field that holds the account's name.

  6. Optional: repeat steps 4 and 5 to add more affiliated accounts.

  7. Select Save.

  8. Select Publish.

Projects created by this branch after you publish include the affiliated accounts. Projects that already exist don't change.

How a From trigger object row finds the account

  • The run reads the CRM ID from the field you chose. If an OnRamp account is already linked to that ID, the run uses it.

  • If not, the run reads the name field and follows the workflow's Account Matching setting. With Match by ID or name, it links an existing account with the same name. Otherwise it creates the account.

  • If the ID field is empty, or the account can't be found or created, the run skips that row. The project is still created.

What you can choose

  • From trigger object is offered for Salesforce workflows. For a HubSpot workflow, affiliated accounts are Fixed only.

  • An account can be used once per card. The project's main account and accounts already chosen as affiliated accounts don't appear in Select customer.

  • If the field you choose under Link External Id to Selected Field is a lookup, the name field list shows the fields of the object it points to. OnRamp picks that object's name field for you when it has one.

  • The card is incomplete until every affiliated account row is filled in. A Fixed row needs an account. A From trigger object row needs both fields.

Remove an affiliated account

  1. In a draft, select the Project Account card.

  2. Select the trash icon on the affiliated account's row.

  3. Select Save, then Publish.

More in Mapping CRM data