Legacy Dev Forum Posts

 View Only

Sign Up

Salesforce post data actions

  • 1.  Salesforce post data actions

    Posted 06-05-2025 18:44

    garimabalodi | 2023-07-27 11:32:57 UTC | #1

    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? : https://developer.genesys.cloud/forum/t/how-to-update-customer-data-from-purecloud-to-sfdc-via-rest-api-post/6743/3 .

    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.


    charlie.conneely | 2023-07-27 14:04:08 UTC | #2

    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


    Jason_Mathison | 2023-07-28 12:35:41 UTC | #3

    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


    garimabalodi | 2023-08-02 12:33:45 UTC | #4

    Thanks Charlie . This helps !


    system | 2023-09-02 12:34:01 UTC | #5

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


    This post was migrated from the old Developer Forum.

    ref: 21189