melso
AutomationUse casesChangelog
Start your business
Hermes and Salesforce

Connect Hermes to Salesforce

Give your Hermes agent access to Salesforce in Melso — 184 tools it can call while it works through a task.

Set it up in Melso

  1. 1In Melso, open Settings → Agent Apps and hit Connect on Salesforce.
  2. 2Finish the OAUTH2 / S2S_OAUTH2 sign-in in the window that opens. Melso stores the connection, not your credentials.
  3. 3Open your Hermes agent, go to its Agent Apps tab, and allow Salesforce.
  4. 4Give the agent a task. It calls Salesforce itself when the work needs it.
Get Melso
What you get

What Salesforce gives your agent

The tools, permissions, and events Salesforce exposes — the same ones your agent can use once the app is authorized.

What you sign in with

Salesforce connects with OAUTH2 / S2S_OAUTH2.

  • Client id
  • Client secret

Permissions

fullrefresh_tokenopenid

Tools Salesforce exposes

SALESFORCE_ACCOUNT_CREATION_WITH_CONTENT_TYPE_OPTION

Create Salesforce Account

DEPRECATED: Creates a new Salesforce Account using a JSON POST request, requiring 'Name'; specific fields (e.g., custom, DunsNumber) may have org-level prerequisites.

SALESFORCE_ADD_CONTACT_TO_CAMPAIGN

Add contact to campaign

Adds a contact to a campaign by creating a CampaignMember record to track campaign engagement. Fails if the contact is already a member of the campaign; pre-check membership via SOQL before calling.

SALESFORCE_ADD_LEAD_TO_CAMPAIGN

Add lead to campaign

Adds a lead to a campaign by creating a CampaignMember record, allowing you to track campaign engagement. Both `campaign_id` and `lead_id` must be valid Salesforce IDs of active, existing records — names or emails cannot be substituted, and deleted or inactive records will cause the call to fail. This is a persistent CRM write; confirm the correct lead and campaign before calling.

SALESFORCE_ADD_OPPORTUNITY_LINE_ITEM

Add product to opportunity

Adds a product (line item) to an opportunity. The product must exist in a pricebook entry that's associated with the opportunity's pricebook.

SALESFORCE_APPLY_LEAD_ASSIGNMENT_RULES

Apply lead assignment rules

Applies configured lead assignment rules to a specific lead, automatically routing it to the appropriate owner based on your organization's rules. Allow a brief propagation delay before querying updated ownership or field values after rule application.

SALESFORCE_ASSOCIATE_CONTACT_TO_ACCOUNT

Associate contact to account

Associates a contact with an account by updating the contact's AccountId field. Overwrites any existing AccountId on the contact. For broader contact field updates alongside the account association, use SALESFORCE_UPDATE_CONTACT instead.

SALESFORCE_CLONE_OPPORTUNITY_WITH_PRODUCTS

Clone opportunity with products

Clones an opportunity and optionally its products (line items). Creates a new opportunity with the same field values and products as the original.

SALESFORCE_CLONE_RECORD

Clone record

Creates a copy of an existing Salesforce record by reading its data, removing system fields, and creating a new record. Optionally apply field updates to the clone.

Events your agent can react to

SALESFORCE_ACCOUNT_CREATED_OR_UPDATED_TRIGGER

Account Created or Updated

Triggers when an Account is created or updated in Salesforce. Uses LastModifiedDate high-watermark to capture both creations and updates.

SALESFORCE_CONTACT_UPDATED_TRIGGER

Contact Updated

Triggers when an existing Salesforce Contact record is modified. Emits changed fields alongside relevant timestamps.

SALESFORCE_GENERIC_S_OBJECT_RECORD_UPDATED_TRIGGER

Record Updated (Generic SObject)

Triggers when monitored fields change on any Salesforce SObject. You specify the SObject type and which field values should be returned in the payload. The trigger uses SystemModstamp to detect changes regardless of which specific field changed.

SALESFORCE_NEW_CONTACT_TRIGGER

New Contact Trigger

Triggers when a new Contact is Created in Salesforce.

SALESFORCE_NEW_LEAD_TRIGGER

New Lead Trigger

Triggers when a new Lead is created in Salesforce.

SALESFORCE_NEW_OR_UPDATED_OPPORTUNITY_TRIGGER

New or Updated Opportunity

Triggers when a Salesforce Opportunity is created or updated.

Example prompts

  • Use Salesforce to check recent changes and summarize them in the issue.
  • When a customer writes in, pull their data from Salesforce before replying.
  • Audit our open items in Salesforce and notify the channel of anything stale.

Useful links

  • Salesforce website
  • Melso Agent Apps docs

More in CRM

  • HubSpot
  • Salesforce
  • Apollo
  • Attio
  • Zoho
melso

Run your company with AI agents.

Start your business

Product

  • Home
  • Automation
  • Melso vs Polsia
  • Use cases
  • Changelog
  • Download

Resources

    Company

    • About
    • Contact Sales

    © 2026 Melso. All rights reserved.