create_group_mailing
Prepare a group e-mail (draft, nothing is sent yet). Required: name, subject, body (plain text), and recipients: saved_filter_id, filter (as in search_crm) or ids — entity contacts (default) or accounts. Placeholders: {{briefanrede}} (e.g. 'Sehr geehrte Frau Dr. Mustermann,'), {{vorname}}, {{nachname}}, {{name}}, {{anrede}}, {{titel}}, {{email}}, {{telefon}}, {{position}}, {{organisation}}, {{strasse}}, {{plz}}, {{ort}}, {{land}}, {{zf_}} for custom fields; {{#if feld}}…{{/if}} works. Every mail gets an unsubscribe link automatically. purpose (default newsletter) is checked against each person's consent; revoked or blocked people are skipped. Optional: from_email (a connected mailbox), from_name, reply_to or as_me=true (your name as sender, replies to you), attachments (document_ids), attachment_mode link|file. Then preview_group_mailing, send_group_mailing_test, schedule_group_mailing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"subject": "<subject>",
"body": "<body>"
},
"name": "create_group_mailing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Explicit recipient record IDs (alternative to saved_filter_id or filter) | |
| body | Yes | Body text | |
| name | Yes | Name of the group mailing | |
| as_me | No | Send with your name as sender; replies go to you | |
| entity | No | contacts | accounts | |
| filter | No | Recipient filter as in search_crm (alternative to saved_filter_id or ids) | |
| purpose | No | Consent purpose checked per recipient (default newsletter) | |
| subject | Yes | Subject line | |
| reply_to | No | Reply-to email address | |
| from_name | No | Sender display name | |
| from_email | No | Sender email address | |
| attachments | No | Document IDs to attach | |
| attachment_mode | No | How attachments are delivered: link or file | |
| saved_filter_id | No | ID of the saved filter |