Change the Postkey AI setup
postkey_update_ai_repliesPostkey: Saves what Postkey AI knows and how it answers. Send only the parts to change. Write only what the person said or their own pages say: never invent prices, offers or promises. It may switch answers off; switching them on or approve_first false is the person's own tap (needs_a_person, with the link). Sends nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | kind (leads: ask for an email, followers, link), question (leads), url (link: their https link), label (link, up to 20). | |
| tone | No | preset (friendly, professional, playful, short), notes (up to 500), examples (up to 5 replies, 300 each). | |
| safety | No | handover_on_ask, handover_when_unsure, hours { enabled, start, end (HH:MM), time_zone (IANA) }. | |
| answers | No | dms, comments: only false here (switches answers off). | |
| knowledge | No | Sections about, offers, prices, faqs, links, website: text, up to 10,000 characters each. | |
| comment_rules | No | questions (answer questions under posts in public), approve_first (only true here). | |
| knowledge_mode | No | replace (default) or append to each section sent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false: refused (isError; code, message, guide_topic, url); no change. | |
| next | No | What to tell the person. | |
| page | No | The Postkey AI page. | |
| saved | No | true: saved. | |
| setup | No | The setup page. | |
| changed | No | The fields changed. | |
| switches | No | As in postkey_get_ai_replies. |