Working with Salesforce Objects
Overview
Interacting with Salesforce objects is a core functionality when integrating Salesforce with Kognitos. This section covers how to fetch data, create and modify Salesforce objects, and delete them when necessary.
Fetching Data using custom SQL queries
To fetch data from Salesforce using custom SQL queries:
Fetching Data using Direct Queries
To fetch data from Salesforce using direct queries:
Creating and Modifying Salesforce Objects
Adding New Records
To add a new record to Salesforce, you need to specify the type of object you're creating and provide the necessary field values. Example:
This creates a new opportunity named "New Deal" with a close date and stage specified.
Updating Existing Records
To update an existing Salesforce object, you must identify the object by its ID and specify the fields you want to update. Example:
This updates the stage of the specified opportunity to "Closed Won".
Deleting Salesforce Objects
Single Deletion
To delete a specific Salesforce object, you need to specify the object and its ID.
Example:
This command deletes the sales object with the specified ID.
Creating a new lead in Salesforce
To create a new lead in Salesforce:
Last updated
Was this helpful?