Salesforce post data actions

Dear Dev Forum ,

  1. Has anyone work on a data action which can insert a record onto salesforce ?

I can see an update can be performed as suggested in following thread , but how about insertion? has anyone worked on that? : How to update customer data from PureCloud to SFDC ( via REST API POST)? - #3 by Yassine.R .

  1. Also , when i use a PATCH data action in above link , i do get a success messsage in data action side , but the value is not updating on SF side .Please suggest .

Regards
Garima.

Hi Garima

I cannot help too much with questions on how to use the salesforce API/how to get it working. This section of the forum provides help if you have problems with the Genesys Cloud API or our SDKs. For general questions about salesforce, I would recommend the Coffee House category for you post.

However, we do have a few example salesforce data actions in our GenesysCloudDevOps GitHub org. I don't know if you have any Terraform experience, but these are all remote modules that can be deployed in your org very easily. If not, no worries, the exported data action for each exists in the repo as a json file.

Here are the salesforce data actions that perform a POST:

Hope this helps,
Charlie

Hi Garima,

One piece of advice that I can give is that you are best off to master how to use a rest API with a tool like postman prior to implementing a data action. Are you able to use a different tool to practice inserting and updating salesforce records?

--Jason

Thanks Charlie . This helps !

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.