AgentMail and Salesforce Integration
Demonstration of how apps are integrated in WEXTL workflow builder[4]
Automate the handoff between AgentMail and Salesforce - your communication events flow into crm actions on a visual canvas your team can read. Set up the workflow once with 3 simple steps in the WEXTL® builder, let AI take smart decisions between apps, and never write a line of glue code again.
- 3-day trial
- Cancel anytime
- Up to 10 minutes quick set up
- GDPR
- Data Encryption
- 2FA
- Local Data Region
Learn about AgentMail and Salesforce
Detailed info you need to know about AgentMail and Salesforce integrations in WEXTL. Explore which modules apps support and how you connect them.
AgentMail

Email inboxes for AI agents: create inboxes, send and read messages, manage threads, drafts, domains and webhooks.[5]
Salesforce

CRM for standard and custom objects. Query, search, composite writes and record watches.[6]
How to connect AgentMail to Salesforce
Set up your AgentMail and Salesforce integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.
STEP 1
Connect AgentMail and Salesforce
Save credentials in WEXTL once. We store them encrypted and reuse the authorization across every workflow[3]. No coding or API skills required.
STEP 2
Build a workflow
Paste selected AgentMail and Salesforce nodes onto the canvas[4], or describe what you want and WEXTL wires the flow together with AI Builder.
STEP 3
Map your data
Choose which fields need to sync between AgentMail and Salesforce. Use filters or a JS custom code step in between. Everything is on the canvas.
How does the integration between AgentMail and Salesforce work in WEXTL?
WEXTL exposes actions and triggers for AgentMail and Salesforce that help you connect apps and automate repetitive tasks[1]. A trigger is an event that happens, and an action is a step that performs when the event has occurred.
AgentMail triggersSalesforce actions
AgentMail modules
- Watch Events Starts the workflow instantly when AgentMail sends a webhook for an email or calendar event, such as a received, sent or bounced message. Choose one event per node and restrict it to chosen inboxes or pods.
- Confirm a Forwarding Address Completes the verification of a forwarding address with the Code from the email AgentMail sent to the Destination.
- Create a Calendar Event Puts a one-off or recurring event on the calendar of an inbox, with a Title, Start and End. Add Attendees, a Recurrence rule or a Time Zone, and turn on Send Invites to email the attendees.
- Create a Domain Registers a custom domain for sending and receiving mail. Use Tracking Enabled to serve open tracking pixels from it and Allow Conflicting Provider when the domain already has Google Workspace MX records. Turn off Inbound Enabled for a send-only domain.
- Create a List Entry Adds an address or domain as a sender rule for the whole organization, either allowed or blocked. Set Direction to cover sending, receiving or replying, and add a Reason to record the cause.
- Create a Pod Creates a pod, a group that holds its own inboxes, domains and API keys.
- Create a Pod API Key Creates an API key limited to one pod. Use Name to label it and Expires At to end it on a date.
- Create a Pod Domain Registers a custom domain inside a pod. Turn on Subdomains Enabled to allow inboxes on subdomains, and switch Inbound Enabled off for a send-only domain.
- Create a Pod Inbox Opens an inbox within a pod, with an optional Username, Domain and Display Name.
- Create a Pod List Entry Registers a rule for a pod that permits or refuses an address or domain. Set Direction to cover sending, receiving or replying.
- Create an API Key Creates an API key that reaches the whole organization. Use Permissions to limit what the key may do and Expires At to end it on a date.
- Create an Inbox Opens a new inbox on agentmail.to or on a verified domain. Leave Username empty for a random address, and set Display Name, Signature or Deactivate At to shape how it behaves.
- Create an Inbox API Key Creates an API key that reaches a single inbox and nothing else. Use Name to label it and Permissions to narrow it further.
- Create an Inbox Draft Saves an email in an inbox without sending it. Set In Reply To to start a reply, Forward Of to start a forward, and Send At to schedule the delivery.
- Create an Inbox List Entry Creates a rule for one inbox that allows or blocks an address or domain. Set Direction to cover sending, receiving or replying, and add a Reason to record the cause.
- Delete a Calendar Event Deletes an event from an inbox calendar, or cancels dates of a recurring event. Use Mode to cancel one date or all later dates, and turn on Send Invites to notify the attendees.
- Delete a Domain Removes a custom domain from the organization.
- Delete a Forwarding Rule Clears the forwarding rule that the organization uses for incoming mail.
- Delete a List Entry Deletes a sender rule from the organization.
- Delete a Message Deletes one message out of an inbox.
- Delete a Pod Removes one pod that groups inboxes, domains and API keys.
- Delete a Pod API Key Removes an API key that is limited to one pod.
- Delete a Pod Domain Deletes a custom domain that was registered inside a pod.
- Delete a Pod Forwarding Rule Clears the forwarding rule that a pod sets for itself.
- Delete a Pod Inbox Removes an inbox that lives inside a pod.
- Delete a Pod List Entry Deletes a pod rule that permitted or refused an address or domain.
- Delete a Pod Thread Removes a thread inside a pod.
- Delete a Thread Removes a thread of the organization.
- Delete an API Key Deletes an API key that belongs to the whole organization.
- Delete an Inbox Deletes an inbox and its address from AgentMail.
- Delete an Inbox API Key Deletes the API key issued for a single inbox.
- Delete an Inbox Draft Removes an unsent draft from an inbox.
- Delete an Inbox Forwarding Rule Clears the forwarding rule that one inbox sets for itself.
- Delete an Inbox List Entry Deletes a rule that allows or blocks an address or domain for an inbox.
- Delete an Inbox Thread Deletes a conversation thread inside one inbox.
- Forward a Message Forwards a message from an inbox to the To recipients, with optional CC, BCC, a new Subject or Attachments.
- Get a Calendar Agenda Lists the dates on an inbox calendar inside a time window. Use After and Before to frame the window and Limit to cap the rows.
- Get a Calendar Event Reads an event from an inbox calendar by its ID, or a single date of a recurring event. Send the etag from the answer as ETag when you update it.
- Get a Domain Reads a domain of the organization with its Status, DNS records and feature switches.
- Get a Domain Setup Link Gets a DNS setup link for a domain, along with whether its DNS provider supports one.
- Get a Domain Zone File Gets the DNS zone file text that a domain needs for its AgentMail records.
- Get a Draft Looks up a draft by its ID anywhere in the organization, without naming the inbox.
- Get a Draft Attachment Returns a download link for one file attached to a draft.
- Get a Draft Attachment in the Organization Fetches the download link of one draft attachment, wherever the draft sits in the organization.
- Get a Forwarding Rule Reads the addresses the organization forwards incoming mail to.
- Get a List Entry Reads a single sender rule of the organization.
- Get a Message Reads a message from an inbox with its sender, recipients, subject, labels and body.
- Get a Message Attachment Gives a download link for one file attached to a message.
- Get a Pod Reads a pod with its name and creation time.
- Get a Pod Domain Reads a domain registered inside a pod with its Status, DNS records and feature switches.
Salesforce modules
- Bulk Delete Survey Translations Deletes survey translations in bulk, one per localized value Id.
- Bulk Update Survey Translations Updates many survey translations in one call. Output lists each Language, Value and Field Api Name.
- Create a Record Inserts a record into a Salesforce Object, taking its values from Fields. Use Assignment Rule Header to control auto-assignment. Output includes the new Id.
- Create a Record by External ID Adds a record tagged with an External ID Value in an External ID Field. Use Fields to define the values of the new record.
- Create a Record Tree Saves records of an Object together with their nested child records in one request. Check Has Errors in the output to see if any failed.
- Create a Record with File Creates a record and uploads a File into its Blob Field, such as VersionData. Use File Name to label the uploaded part.
- Create Product Schedules Adds schedules to an opportunity line item. Output reports the Id, Success and any Errors.
- Create Records Inserts a batch of new records. Turn on All or None to roll back the whole request if any record fails. Each record gets its own Id, Success flag and Errors.
- Delete a Record Removes one record from its Salesforce Object, found by Id.
- Delete a Record by External ID Deletes the record that holds a particular External ID Value in its External ID Field.
- Delete a Related Record Deletes the record a Relationship Name points to, starting from a parent record of an Object.
- Delete a Survey Translation Removes the localized value that translates one survey field, found by its Id.
- Delete an Event Series Deletes the event with this Id and every later event that belongs to the same series, using the fromThisEventOnwards resource.
- Delete Product Schedules Deletes the schedules attached to the opportunity line item with that Id.
- Delete Records Removes as many as 200 records listed by Id in a single request. Turn on All or None so a failed deletion undoes the batch. Each record reports Success and Errors.
- Describe a List View Describes a list view, with the Query behind it and the Columns it displays.
- Describe an Object Returns the definition of an Object, with its Name, Label and Fields.
- Describe an Object Quick Action Details a quick action defined on an object, showing its Label, its Name and its Type.
- Execute a Composite Batch Sends up to 25 independent subrequests in one batch. Check Has Errors to see whether any failed and read each reply from Results.
- Execute a Composite Graph Runs a graphs collection of related requests in one call. Output lists the Graphs.
- Execute a Composite Request Sends a compositeRequest of subrequests in one call, with an allOrNone flag to roll back errors. Output is the Composite Response.
- Explain a Query Explains a SOQL Query, returning the execution Plans for it.
- Get a Blob Field Downloads the binary content held in a Blob Field of a record, delivered as a File with its Filename, Content Type and Size.
- Get a Collection Fetches several records of one Object by Ids, reading just the columns named by Fields.
- Get a Collection by Body Retrieves multiple records of an Object by sending Ids and Fields as a request body.
- Get a Data Category Reads a data category from a Group and Category, listing its Name, Label and Child Categories.
- Get a List View Returns one list view. Output includes the Id, Label and Developer Name of the view.
- Get a Named Layout Fetches a named layout from an Object, matched on the API name given as Layout Name.
- Get a Password Status Tells whether the password of a user is past its expiry, answered as Is Expired.
- Get a Portability Export Reports how a data-portability export is progressing through its Status, optionally for one Request Id.
- Get a Process Rule Reads a workflow rule on an object and reports its Id and Name.
- Get a Record Opens a single record by its Id from an Object. Use Fields to return only some of its fields.
- Get a Record by External ID Finds the record whose External ID Field matches an External ID Value and returns it with its Id.
- Get a Rich Text Image Downloads an image that sits inside a Rich Text Field, found by its Content Reference Id.
- Get a Self-Service Password Status Checks a self-service password for expiry, reported as Is Expired for that self-service user.
- Get a Survey Translation Loads a single localized survey value by Id and returns its Language, its Value and the Field Api Name it translates.
- Get an Approval Process Layout Returns the layout used by a single approval process of an object, looked up by its Name.
- Get an Article Loads one Knowledge article by Id or Url Name in a given Language, with its Title.
- Get an Embedded Service Configuration Returns an Embedded Service configuration by Name. Output includes the Embedded Service Config Name and Site.
- Get an Event Schema by ID Fetches a platform event schema through its Schema Id, with the Uuid and Topic. Use Payload Format to get it as JSON or Avro.
- Get an Event Schema by Name Describes the schema of a platform event from its Event Name, without subscribing to it. Output includes the Uuid and Topic.
- Get an Object Reads one Object, returned as its Id and Attributes.
- Get an Object Quick Action Opens a single quick action, returning its Name and Type.
- Get Appointment Candidates Gets appointment candidates with their Resources. Send the start time, end time and work type group through Body, and add Limit to read fewer rows.
- Get Appointment Slots Gets open appointment slots, each with a Start Time and End Time. The search needs a time window and work type group.
- Get Approval Layouts Lists approval layouts belonging to an object, each with an Id and Name.
- Get Compact Layouts Returns compact layouts that an object has. Output shows them as Compact Layouts.
- Get Compact Layouts for Objects Collects the compact layouts of several objects in one request, instead of one call per object.
- Get Consent Preferences Looks up consent under one consent Action: Email, Phone, Web, Social, Mail or Fax. Use Ids to name the individuals.
- Get Contact Tracing Resources Lists what the contact-tracing endpoint of the org exposes, each resource with its Url.
Build a AgentMail and Salesforce workflow with AI
Describe your automation with AgentMail and Salesforce - and our AI Workflow Builder will make it done for you.
What you can automate with AgentMail and Salesforce
Explore alternative integrations
There are other apps[9] supported by WEXTL that can be paired with AgentMail and Salesforce integrations. Pick any from the list below if the current combination isn't the one you need.
Frequently asked questions
Common questions about connecting AgentMail and Salesforce.
References
List of sources used to gather information about the AgentMail and Salesforce integration.
- AgentMail and Salesforce integration source code, module specs and credentials implementation.
- Our AgentMail and Salesforce integration documentation, structured input and output parameters, scopes, and authentication methods.
- Official vendor API documentation for AgentMail and Salesforce, used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
- WEXTL® visual workflow builder, anonymized data from our technical support team.
- AgentMail integration information
- Salesforce integration information
- WEXTL® Scheduling
- WEXTL® Pricing and Trial
- WEXTL® Apps Library
How we write our apps documentation
Explore how WEXTL® crafted AgentMail and Salesforce integration page documentation. Used sources, the role of AI, and how the team validates the result.