The Salesforce Action node allows you to retrieve, create and update a record via SOQL query.
Here's how to find your tenant domain:-
This is your account's unique org-specific subdomain for Salesforce login and application URL. If you use Salesforce Lightning Experience, you can find it in the URL of your salesforce account (https:// your-tenant-domain.lightning.force.com) or you can go to Settings → Company Settings → My Domain→ Current Domain.
Receive data from a Salesforce record via SOQL query.
The Object Record ID is an important field that you may need to retrieve. The Record ID is the unique identifier assigned to each record (under an object) in your Salesforce account. When using Get Record action, you will need to map in the response for the Record ID. This Record ID can be used at later stages while creating/updating a record which has a salesforce field with data type as “Lookup” (eg: Under “Case” object, field with label as “Contact name” and API name as “ContactId” has data type listed as “Lookup”).
Create a new record in Salesforce.
Saving created record IDs into parameters
You can now save the IDs of the records you create during the course of a conversation directly into a parameter in Studio.
Here's how this works:-
Once you create a record you can choose to save the object ID in a parameter from the drop down list.
Update a record data in Salesforce.
If you want to test your Salesforce Get Data node, you can do so by clicking on "Test Request" on the top right of the node.
It will open a new window that shows you Salesforce's response to your request in a raw JSON file. Under the "Test Results" tab, it will show whether or not the parameter you assigned in Response Mapping was attributed with a value. A request can be successful but the parameter under "Test Results" remains empty. The Cause for that might be a writing error in the parameter chosen in the Response Mapping, so the value might have not been attached to the parameter.
In the example below, the query was successful, and the relevant data was withdrawn from Salesforce.