Skip to navigation

Salesforce Marketing Cloud

Connect your AI agents to Salesforce Marketing Cloud.
Ready to connect

Connects with credentials the end user enters, such as an API key, so you don’t need to register an OAuth app.

Authentication: OAuth or server-to-server credentials. See Magic Link for the runtime auth flow, or Application credentials to bring your own OAuth app.

Sample use cases

  • Find the contact record for alice@acme.com and list the data extensions she appears in.
  • Upsert this week’s webinar registrants into the Webinar Attendees data extension.
  • Run the Nightly Lead Sync automation and confirm it completed.

Available Tools

validate_email_address

Check whether an email address is valid before sending: syntax, whether the domain accepts mail (MX), and known-bad address lists.

list_assets

List Content Builder assets (emails, content blocks, images, templates) with an optional simple $filter (e.g. “assetT…

search_assets

Search Content Builder assets with an advanced query: nested AND/OR operand trees, multiple sort clauses, and a field projection.

get_asset

Get one Content Builder asset by ID, including its full content, views, data, and meta.

create_asset

Create a Content Builder asset. Requires name and asset_type (e.g. htmlemail=208, htmlblock=197, png=28). Emails take…

update_asset

Update a Content Builder asset (partial PATCH): name, description, folder, content, views, data, meta, channels, or asset type.

delete_asset

Delete a Content Builder asset by ID. Use list_assets or search_assets to find the asset ID.

list_asset_categories

List Content Builder categories (folders) with optional filter(e.g.′parentIdeq516016′),filter (e.g. 'parentId eq 516016'), orderBy, and scope (‘Shared’).

create_asset_category

Create a Content Builder folder under a parent folder.

update_asset_category

Rename or move a Content Builder folder (full PUT: name and parent_id are both required).

delete_asset_category

Delete a Content Builder folder by ID. The folder must be empty: move or delete its assets and subfolders first. Use …

list_automations

List Automation Studio automations with page-number pagination (page_size up to 500), optionally sorted (order_by) and filtered (filter).

get_automation

Get one automation by ID, including its schedule, status, and steps with their activities.

run_automation

Run an automation once now, performing all of its activities (queries, imports, sends).

list_folders

List Marketing Cloud folders of one type, e.g. category_type ‘dataextension’.

list_campaigns

List Marketing Cloud campaigns with optional $orderBy (e.g. ‘createdDate DESC’).

get_campaign

Get one campaign by ID. Use list_campaigns to find campaign IDs.

create_campaign

Create a campaign. Requires name; optional description, campaign_code, color (hex without ’#’), and favorite.

update_campaign

Update a campaign’s name, description, campaign_code, color, or favorite flag.

delete_campaign

Delete a campaign by ID. Use list_campaigns to find the campaign ID.

list_campaign_assets

List the assets (emails, journeys, …) associated with a campaign. Each item’s id is the association ID remove_cam…

add_campaign_asset

Associate one or more items with a campaign, e.g. asset_type ‘EMAIL’ with item_ids from list_assets.

remove_campaign_asset

Remove an asset association from a campaign.

search_contacts_by_email

Find contacts by email address (1-100 addresses).

create_contact

Create a contact with attribute values grouped by attribute set (most accounts require the ‘Email Addresses’ set).

update_contact

Update an existing contact’s attribute values, grouped by attribute set.

delete_contacts

Delete contacts by contact key. Asynchronous: SFMC deletes them after the account’s retention period.

get_contact_delete_status

Get the status of a contact delete operation started by delete_contacts.

list_attribute_set_definitions

List Contact Builder attribute set definitions and their attributes, with page-number pagination.

get_data_extension_rows

Read rows from a data extension by external key or ID (exactly one), with page-number pagination (page_size up to 2500), a filter like “Email eq ‘a@b.com’”, order_by, and a fields column mask.

upsert_data_extension_rows

Insert or update up to 500 rows synchronously, matched on primary key columns.

upsert_data_extension_rows_async

Queue a large batch of rows for a data extension asynchronously.

get_async_request_status

Get the processing status of an asynchronous data request (requestStatus, resultStatus, hasErrors).

get_async_request_results

Get per-row results (status, errorCode, message) of a completed asynchronous data request, with page-number pagination.

list_data_extensions

List data extensions with page-number pagination (page, page_size; use page_info.next_page).

get_data_extension

Get one data extension’s properties (name, key, folder, sendable settings, row count) by ID.

list_data_extension_fields

List a data extension’s fields (column names, types, lengths, primary keys, nullability).

create_data_extension

Create a data extension with at least one field.

update_data_extension

Update a data extension’s name, description, sendable/testable flags, or retention settings.

delete_data_extension

Permanently delete a data extension and all its rows.

create_data_extension_field

Add one or more fields (columns) to an existing data extension.

update_data_extension_field

Change existing data extension fields (length, scale, nullability, default value), matched by name.

clear_data_extension

Delete ALL rows from a data extension, keeping its structure.

list_event_definitions

List Journey Builder event definitions (entry sources) with their id and eventDefinitionKey, optionally filtered by name.

get_event_definition

Get one event definition by event_definition_id or key (exactly one). Use list_event_definitions to find them.

create_event_definition

Create a journey entry event (e.g. type ‘APIEvent’) bound to a data extension.

update_event_definition

Replace an event definition (full body: type, name, key, data extension).

delete_event_definition

Delete an event definition. Journeys that use it as an entry source must be stopped or deleted first.

list_journeys

List Journey Builder journeys (lean summaries: id, key, version, status).

get_journey

Get a journey’s full definition (triggers, activities, goals, exits) by journey_id or key (exactly one).

create_journey

Create a journey from a Journey Spec (key, name, triggers, activities).

update_journey

Replace a draft journey version’s full Journey Spec.

delete_journey

Delete a journey, or one version with version_number.

publish_journey

Start publishing (activating) a journey version asynchronously.

get_journey_publish_status

Check the progress of a publish_journey request by its status_id.

stop_journey

Stop a running journey version; contacts exit and it cannot be restarted (inverse of publish_journey).

pause_journey

Pause a running journey version (contacts hold in place).

resume_journey

Resume a paused journey version (inverse of pause_journey).

get_journey_audit_log

Get a journey’s audit log (who created, modified, published, unpublished, or deleted it), optionally filtered by action.

fire_entry_event

Inject a contact into a published journey by firing its API entry event.

remove_contacts_from_journey

Remove up to 50 contacts from journeys (inverse of fire_entry_event).

get_journey_exit_status

Check whether contacts removed with remove_contacts_from_journey have exited.

list_contact_journeys

List which journeys (key and version) the given contacts are currently in, plus contact keys that were not found.

list_email_send_definitions

List transactional email send definitions with page-number pagination (page_size up to 100, the API maximum).

get_email_send_definition

Get one transactional email send definition by its definition key, including its email asset, subscription settings, and options.

create_email_send_definition

Create a transactional email send definition that links a Content Builder email to a subscriber list.

update_email_send_definition

Update a transactional email send definition: name, description, status (Active/Inactive), classification, email asset, subscriptions, or options.

delete_email_send_definition

Delete a transactional email send definition by definition key.

send_transactional_email

Send a real transactional email to 1-500 recipients using an active send definition.

get_email_message_status

Get the send status of one transactional email message by message key (e.g. ‘TransactionalSendEvents.EmailSent’).