Write a social campaign
amplify_create_campaignTurn one page (url) or text into a native post for every enabled channel in every chosen language, saved as drafts. Nothing is published. Use dry_run to see posts without saving, and idempotency_key so a retry never makes a duplicate. Needs the customer's key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public page to write from (preferred: its link goes in the posts) | |
| text | No | Or the text to write from (a changelog entry, an announcement) | |
| title | No | ||
| dry_run | No | Write and return the posts without saving anything. | |
| languages | No | Defaults to the account's languages. BCP-47 tags, up to 8: en, zh-TW, zh-CN, ja, ko, es, pt-BR, fr, de, it, nl, pl, tr, ru, uk, ar, hi, id, vi, th, ms, fil | |
| channel_ids | No | Subset of enabled channel ids (from amplify_status). Default: all enabled. | |
| idempotency_key | No | Same key again returns the first campaign instead of writing a new one. |