Create In-App Campaign
create-in-app-campaignCreate a draft in-app message campaign with message layout, content, buttons, audience targeting, and display triggers; nothing is sent until you use the matching send action or Arsel dashboard.
Instructions
Create an in-app message campaign. The campaign is saved as a draft; nothing goes out until it is sent with the matching send tool or from the Arsel dashboard.
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>",
"layout": "<layout>",
"content": "<content>",
"trigger": "<trigger>"
},
"name": "create-in-app-campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Internal campaign name. | |
| layout | Yes | How the message is drawn. | |
| buttons | No | ||
| content | Yes | Message content. With no close button, at least one button must dismiss. | |
| ends_at | No | ISO 8601 date-time; omit for an open-ended campaign. | |
| tag_ids | No | Tags to target. | |
| trigger | Yes | When the message shows on the device. | |
| list_ids | No | Lists to target. | |
| priority | No | Higher wins when several messages are eligible at once. | |
| starts_at | No | ISO 8601 date-time, e.g. 2026-09-01T09:00:00Z. | |
| grant_only | No | Only shown to contacts an automation grants it to. | |
| description | No | ||
| segment_ids | No | Segments to target. | |
| display_rules | No | Frequency caps. Defaults to once per session, three times ever, a day apart. | |
| target_platforms | No |