Create a sample workflow to create new data in Salesforce using Events
Workflows
and create a new workflow by clicking on +Add Workflow
button and name it as Create New Contact
.
Add Trigger in Start Node
Start Node
, select your native app option and click on + Create New Event
.Add Salesforce Node
Nodes
option in the top right and drag the Salesforce Node from Native Apps section to the workflow builder. Connect this node with Start Node.Add Action in node
Create Contact
action.
To provide the data in all the fields from your Event payload, just click on a field and from the Event tab under Insert Variable, select the fields from the body that you sent as payload.Select Node
Run Node
Input/Output
tab and click on Run Node
button.
Run Workflow
button to perform a test execution and a Test Run log is generated with output of each node.