Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create Contact
CAMPAYN_CREATE_CONTACTTool to create a new contact in a specific list. Use when you need to add a contact after gathering details.
Delete Contact
CAMPAYN_DELETE_CONTACTTool to delete a specific contact. Use when you need to remove a contact permanently after confirming it should be deleted. Example: "Delete contact 123".
Delete List
CAMPAYN_DELETE_LISTTool to delete a specific contact list. Use when cleaning up unused lists after confirming they are no longer needed. Example: "Delete list 123".
Delete webform
CAMPAYN_DELETE_WEBFORMDeletes a specified webform from a Campayn contact list using the list ID and webform ID. Use Get Webforms to find these IDs. The API may report success even if the webform does not exist.
Get Contact
CAMPAYN_GET_CONTACTTool to retrieve a specific contact by ID. Use when you need to fetch full contact details after confirming the contact ID.
Get Contacts
CAMPAYN_GET_CONTACTSRetrieves all contacts from a specific contact list in Campayn. Returns contact details including email, name, address, and confirmation status. Use 'Get Lists' action first to obtain the list_id. Supports optional filtering by contact name/email/company.
Get Lists
CAMPAYN_GET_LISTSTool to retrieve all contact lists. Use when you need to fetch available lists before performing list-specific actions. Example prompt: "List all my contact lists".
Get Message Statistics
CAMPAYN_GET_MESSAGERetrieves engagement statistics for a specific email message by ID, including views, positive responses, and negative responses. It reports an error when all statistics are absent or null.
Get Messages
CAMPAYN_GET_MESSAGESTool to retrieve all email messages. Use when you need to list all messages visible to the authenticated user.
Get Reports
CAMPAYN_GET_REPORTSTool to retrieve report URLs and metadata for sent and scheduled emails. Use when you need to fetch email delivery data, optionally filtered by a date range (Unix timestamp in seconds, UTC). Note: scheduled emails will have report_url set to null.
Get Webform
CAMPAYN_GET_WEBFORMRetrieves a specific webform within a contact list using the list ID and webform ID. Returns details including title, type, HTML, and signup count.
Get Webforms
CAMPAYN_GET_WEBFORMSTool to retrieve all webforms for a specific contact list. Use when you need to list forms after confirming the list ID. Example prompt: "List all webforms in list 123".
Unsubscribe Contact
CAMPAYN_UNSUBSCRIBE_CONTACTTool to unsubscribe contacts from a list by contact id or email address. Use when you need to remove contacts from a mailing list. If id is provided, only that specific contact will be unsubscribed. If email is provided, all contacts on that list with that email will be unsubscribed.
Update List
CAMPAYN_UPDATE_LISTTool to update a contact list. Use after confirming list ID and desired changes. Example: Update list 123 name to 'Newsletter Subscribers'.