capabilities.work

Query Then Update Account

A 2-step recipe with Salesforce Sales Cloud. We can help you get access.

Recipe · 2 steps

Query Then Update Account

Locate an Account via SOQL and update it when found.

  1. Run a SOQL query to locate the Account by name.
  2. Patch the matched Account with the supplied field values.
What you'll need to have ready
  • accessToken: OAuth 2.0 access token used as the Bearer credential.
  • accountName: Account Name to match in the SOQL WHERE clause.
  • updates: Map of Account field name/value pairs to patch onto the match.
For your developer

Arazzo workflow salesforce-sales-cloud:query-then-update-account, 2 operations: executeSOQLQuery → updateSObjectRecord. Specs on APIs.io.