Salesforce
Procedures and concepts for the Salesforce integration.
Overview
Salesforce is the world's leading customer relationship management (CRM) platform for sales and marketing automation. This integration enables automated lead management, opportunity tracking, customer communication, and sales pipeline optimization. Enhance sales productivity and customer relationship management.
Prerequisites
1. Required Books
The following Book(s) need to be added to your agent so it can learn and understand the automation procedures defined within them:
Salesforce
How to Add the Book(s)
Go to Books → All Books.
Search for the name of the book and click on it.
Click on Install or Add Connection to add the book to your agent.
If adding a connection, you'll be prompted for connectivity details.
Connectivity
This section outlines the available methods for connecting to the Book, along with the required configuration details for each.
Connect using Consumer Key, Consumer Secret and Domain
Connect to Salesforce using the OAuth 2.0 Client Credentials flow.
Consumer Key
The Consumer Key (also called Client ID) from your Connected App.
sensitive
Consumer Secret
The Consumer Secret (also called Client Secret) from your Connected App.
sensitive
Domain
Your Salesforce My Domain prefix (e.g. "mycompany" for mycompany.my.salesforce.com).
text
Connect using Username, Password, Security Token and Domain
Connects to a Salesforce instance using username, password, security token and domain.
Username
The Salesforce login email (e.g. user@company.com).
text
Password
The password associated with your Salesforce account.
sensitive
Security Token
The security token emailed to you by Salesforce after a token reset. This token is appended to your password internally to authenticate API requests.
sensitive
Domain
The Salesforce login domain. Use "login" for production, "test" for sandbox, or your My Domain prefix for custom domains.
text
Connect using Username, Password and Security Token
Connects to a Salesforce instance using username, password and security token.
Username
The Salesforce login email (e.g. user@company.com).
text
Password
The password associated with your Salesforce account.
sensitive
Security Token
The security token emailed to you by Salesforce after a token reset. This token is appended to your password internally to authenticate API requests.
sensitive
Procedures
to create a report in salesforce
Creates a report in Salesforce.
Input Concepts
A CreateSalesforceReportBody to create a Report with in Salesforce
salesforce create report body
Yes
(no default)
Output Concepts
answer
The id of the created report
text
Examples
Create a basic Salesforce Report
Create a Report with a filter
to export a report as a excel
Exports a report as an Excel file.
Input Concepts
Output Concepts
answer
The Excel file as an IO object.
file
Examples
to export a report as a table
Exports a report as a Pyarrow Table.
Input Concepts
Output Concepts
answer
The report represented as a Pyarrow Table.
table
Examples
to retrieve some (reports) from salesforce
Retrieves reports from Salesforce.
Output Concepts
Examples
Retrieve reports from Salesforce
Retrieve reports from Salesforce, filtering by name
to send an email in salesforce
Sends an email in Salesforce.
Input Concepts
receivers
The receivers of the email.
text
Yes
(no default)
subject
The subject of the email.
text
Yes
(no default)
body
The body of the email.
text
No
(no default)
Examples
Send an email in Salesforce
Concepts
Salesforce create report body
Information sent to Salesforce to create a report.
report_metadata
The metadata of the report.
json
Salesforce report
A Salesforce report, modeled as the Salesforce Object (SObject)and defined as a set of data that meets certain criteria, displayed in an organized way. Specified here: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_report.htm
id
The ID of the report.
text
owner_id
The ID of the owner of the report.
text
name
The name of the report.
text
developer_name
The unique name of the object in the API.
text
description
The description of the report. Limit: 255 characters.
optional[text]
folder_name
The name of the folder that contains the report.
optional[text]
namespace_prefix
The namespace prefix of the report.
optional[text]
format
Indicates the format of the report. Can have one of these values: Tabular, Summary, Matrix, or Joined.
optional[text]
is_deleted
Indicates whether the report is deleted.
optional[boolean]
created_date
The date and time when the report was created.
optional[datetime]
created_by_id
The ID of the user who created the report.
optional[text]
last_modified_date
The date and time when the report was last modified.
optional[datetime]
last_modified_by_id
The ID of the user who last modified the report.
optional[text]
last_referenced_date
The date and time when the report was last referenced.
optional[datetime]
last_run_date
The date and time when the report was last run.
optional[datetime]
last_viewed_date
The date and time when the report was last viewed.
optional[datetime]
Last updated
Was this helpful?

