comms_create_campaign
Create a new email campaign with HTML body to send to a segmented audience. Supports variable substitution: {nombre}, {apellido}, {nombre_completo}, {email}, {telefono}, {organizacion}. Use audienceType "predefined" with audienceId "active"/"inactive"/"new"/"withPhone"/"withoutPhone", or "adhoc" ...
This record as markdown: /tools/com-servicialo-mcp-server/comms-create-campaign.md
What comms_create_campaign does on Servicialo
AI agents use comms_create_campaign to create or update resources in Servicialo, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Servicialo environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
type | string | — | |
apiKey | string | — | |
confirm | boolean | Yes | |
orgSlug | string | Yes | |
emailBody | string | Yes | |
audienceId | string | — | |
adHocFilters | object | — | |
audienceType | string | Yes | |
emailSubject | string | — |
Parameters from the server's own tool schema.
Why comms_create_campaign is rated Medium
Creates and modifies campaign data; sends communications to large audience segments with tracking tags.
From the tool's definition Create email campaign, send to segmented audience, auto-tagged links, unsubscribe footer.
Risk signalsHandles credentials or secrets (apiKey) · High parameter count (15 properties)
Attacks that exploit this kind of access
The rule that runs comms_create_campaign safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Servicialo, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For comms_create_campaign, this is the rule to start with:
comms_create_campaign stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Servicialo, apply this rule, and every comms_create_campaign call is checked against it from then on.
Questions about comms_create_campaign
Create a new email campaign with HTML body to send to a segmented audience. Supports variable substitution: {nombre}, {apellido}, {nombre_completo}, {email}, {telefono}, {organizacion}. Use audienceType "predefined" with audienceId "active"/"inactive"/"new"/"withPhone"/"withoutPhone", or "adhoc" with custom filters. On send, links in the body are auto-tagged with UTMs (utm_campaign = stable slug from campaign name) and a legal footer with unsubscribe link is appended. Returns campaign ID and recipient count. Campaign starts as draft — use comms_send_campaign to execute. Requires confirm: true. It is categorised as a Write tool in the Servicialo MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
comms_create_campaign accepts 10 parameters: name, type, apiKey, confirm, orgSlug, emailBody, audienceId, adHocFilters, audienceType, emailSubject. Required: name, confirm, orgSlug, emailBody, audienceType. The full parameter table on this page comes from the server's own tool schema.
Register the Servicialo MCP server in PolicyLayer and add a rule for comms_create_campaign: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Servicialo. Nothing to install.
comms_create_campaign is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the comms_create_campaign rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for comms_create_campaign. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
comms_create_campaign is provided by the Servicialo MCP server (@servicialo/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Servicialo, and thousands of servers like it.
This server
Across the catalogue