Create Salesforce spoke actions to retrieve opportunities
The Salesforce spoke provides actions to retrieve metadata of the opportunity record and create a new opportunity.
Other than Data Stream Actions, there is no action to get a set of the opportunity records based on a given search criteria. You must create your own actions to accomplish the stated goal of the reference example. See Reference Salesforce integration using remote tables.
To create a new action, copy an existing action and modify it to suit your needs. For example, you can copy the Get All Accounts action and modify it to retrieve opportunity records.
For this example, you will create three new Salesforce spoke actions:
- Get All Opportunities
- Get Opportunities for Account Id
- Get Opportunity Details
Each action includes three steps:
- A pre-processing script step that creates a query.
- A REST step that executes the query.
- A post-processing script step that evaluates the response from the query.
주:
You can test all actions from the Flow Designer before you attempt to connect
them to the remote table.