Draft a reply with AI
Have PostSyncer AI write a reply to an inbox item in the brand’s voice, kept as a draft.
comments:update. Your role in the item’s workspace must also let you edit public comments and use the workspace’s AI; a Client’s doesn’t. See Permissions.draft.by ai, in place of a draft already there. PostSyncer wrote it, so it is ai even when a key asks; to keep your own words instead, update the item with draft. It also adds the tags it finds: lead, complaint or praise.
It never sends. A person sends it from the app, or you send it on purpose with Create a comment, Reply to a review or Reply to a mention.
An item nobody can answer from PostSyncer gets no draft: 422 with the reason, and nothing is charged. That is a comment hidden or deleted on its network (The comment is hidden on Facebook. Unhide it to reply., The comment was deleted on Facebook.), or a mention the network takes no reply to from apps (the item’s cant_reply_reason).
Each draft spends 1 of the workspace owner’s AI credits, as the app’s AI reply does. Without enough, it answers 402 (insufficient_credits) and nothing is written or charged. If the AI can’t write it, the answer is 503 (ai_unavailable) or 422 (ai_declined), and the credit is back. Drafts are written only when asked: nothing is drafted as items come in.
It answers the whole item, as Get an inbox item does, with its new draft.
On the Free plan, comments and mentions are drafted from the Free month’s AI credits. A review’s draft is refused with 403 (plan_limit_reached, limit: ai): AI review replies are part of the paid plans. Upgrade to use them.
When an item was joined into another one (a comment PostSyncer later found to be a reply, or a mention later saved as a comment), its old id answers 404 with {"message": "This item is now part of item 123. Use that id.", "moved_to": 123}. Read or change item moved_to instead; a change sent to the old id changes nothing. You get moved_to only for an item you can open; otherwise the answer is the usual 404 {"message": "Not found."}.
Errors
Related
- Draft replies for many items: up to 50 at once.
- Work through the Inbox: drafts in the routine.
Authorizations
Response
The item with its new draft.
One item of the Inbox: a comment on one of your posts, a mention of one of your accounts, or a Google review, with everything needed to answer it.
The pictures in a comment, as Get a comment gives them, or a review’s photos and videos. A mention’s picture is its post’s, in about.thumbnail.
The reply waiting to be sent: Ready to send in the app. It never sends itself. A reply PostSyncer takes to send (a comment's, or a mention's) clears it, and a comment reply the network refuses comes back as the draft (by: person), unless someone wrote a newer one. Null when there is none.
Why nobody can answer it from PostSyncer, in words to show the user, with where to answer instead: a mention the network takes no reply to from apps, The comment is hidden on {Network}. Unhide it to reply. or The comment was deleted on {Network}. Null when a reply can go out, and always on a review.