How to create an Account Record in Salesforce using Rest API and send “ID” as a response
Is there any reason why you don’t use the Salesforce SnapPack?
The Salesforce Snaps in background are using the Salesforce REST API’s.
BR,
Spiro Taleski
@ Spiro_Taleski I used below flow to read the parameters from pipeline to create an account in salesforce. but i am not sure how to get ID as a response from this
The last snap, is that a Salesforce Create Snap?
If so, first check the Snap Execution mode(select Validate&Execute), so on the output you will see the results of the created records.
BR,
Spiro Taleski
yeah i fixed it already. Now my question is how to capture response body after creating an Account record in salesforce
If creation of that record in Salesforce is successful, then on the Salesforce Create Snap’s output you should have the id of the created record.
If you have the Salesforce Create Snap properly configured, the accounts will be created in Salesforce, and the Snap will produce output(similar like Mapper snap), that will contains the saleforce id’s of the created accounts.
@Spiro_Taleski okay, how to connect to salesforce account without using salesforce create snap and only by using service url in REST POST/GET snap, when i try to give a service url it is showing as invalid. How to give correct one