Merge · Arazzo Workflow
Merge CRM Open an Opportunity
Version 1.0.0
Resolve a pipeline stage and an account, then create an opportunity placed at that stage on that account.
Provider
Workflows
create-opportunity
Create a CRM opportunity for an account at a named pipeline stage.
Resolves a pipeline stage by name and an account by name, then creates an opportunity tied to both.
1
resolveStage
{$sourceDescriptions.crmApi.url}#/paths/~1crm~1v1~1stages/get
List the pipeline stages and select the one whose name matches the supplied stage name.
2
resolveAccount
{$sourceDescriptions.crmApi.url}#/paths/~1crm~1v1~1accounts/get
Resolve the target account by matching on its name, returning at most one match.
3
createOpportunity
{$sourceDescriptions.crmApi.url}#/paths/~1crm~1v1~1opportunities/post
Create the opportunity for the resolved account at the resolved stage.