MetorialDocs

Set up Sendlane in Metorial for Claude, ChatGPT and Cursor

Share Sendlane with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 19 tools (8 read-only).

To give your team Sendlane in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Sendlane integration in a Metorial portal, and each person connects with an API token. Agents can manage contacts, lists, tags, and segments for email and SMS marketing automation focused on eCommerce. The integration has 19 tools, 8 read-only, 9 write and 2 destructive, plus 3 triggers.

What you'll learn

  • How an admin shares Sendlane in a portal and how each person connects
  • What Sendlane asks for when you connect, and where to find it
  • How to keep the 8 read-only tools and reject the other 11

Before you start

Sign-in method

MethodTypeWhat a person provides
API TokenAPI tokentoken

API Token

To connect, a person enters:

  • token: Sendlane API v2 Bearer token. Found under Account → API in the Sendlane dashboard.

Admin: share Sendlane in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Sendlane. For how members connect, choose Each person connects so everyone enters their own API token, or Shared connection to enter one API token for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Sendlane.

Choose who gets it

Add the access groups that should see Sendlane. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Sendlane integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search sendlane

Employee: connect Sendlane

In the portal

Open Sendlane in the catalog

Sign in to your portal and open Sendlane. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API token (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search sendlane
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Sendlane connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list sendlane
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 8 read-only tools, such as list_tags and list_lists, and lose the 9 write tools, such as track_order or track_checkout, and the 2 destructive tools, such as unsubscribe_contact or remove_contact_from_list.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list sendlane
metorial tools <integration-id>
metorial call <integration-id> list_tags -d '{}'

metorial tools lists the 19 tools, minus any you rejected. list_tags takes no input. It retrieves all tags in your Sendlane account.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (8)

  • list_contacts: Retrieve contacts from your Sendlane account.
  • get_contact: Retrieve detailed information about a specific contact, including their tags and custom field values. Needs contactId.
  • list_custom_fields: Retrieve all custom fields defined in your Sendlane account.
  • list_list_contacts: Retrieve contacts that belong to a specific mailing list. Needs listId.
  • list_lists: Retrieve all mailing lists in your Sendlane account.
  • list_senders: Retrieve all sender profiles in your Sendlane account.
  • list_tags: Retrieve all tags in your Sendlane account.
  • list_campaigns: Retrieve campaigns from your Sendlane account.

Write tools (9)

  • update_sms_consent: Update the SMS consent status for a contact. Needs contactId and smsConsent.
  • track_checkout: Send a checkout started event to Sendlane for abandoned checkout tracking. Needs integrationToken, email, checkoutId, total and lineItems.
  • track_custom_event: Send a custom event to Sendlane for tracking purposes. Needs integrationToken, email and eventName.
  • track_order_fulfilled: Send an order fulfilled event to Sendlane, indicating that an order has been shipped. Needs integrationToken, eventId and email.
  • add_contact_to_list: Add a contact to a specified list. Needs listId.
  • track_order: Send an order placed event to Sendlane for eCommerce tracking. Needs integrationToken, eventId, email, total and lineItems.
  • manage_contact_tags: Add or remove tags from a contact. Needs contactId, action and tagIds.
  • update_contact_custom_fields: Set or update custom field values for a specific contact. Needs contactId and customFields.
  • manage_suppression: Add or remove email addresses from the suppression list, or retrieve the current suppressed emails. Needs action.

Destructive tools (2)

  • unsubscribe_contact: Unsubscribe a contact from all email communications. Needs contactId.
  • remove_contact_from_list: Remove a contact from a specific list. Needs listId and contactId.

Triggers

Sendlane has 3 triggers, which fire on events in Sendlane:

  • new_unsubscribe: Triggers when a contact unsubscribes from email communications.
  • inbound_webhook
  • new_contact: Triggers when a new contact is added to your Sendlane account.

Next steps