The playbook
Posts made by a campaign's Clippy agent are submitted on their own once live. This skill is for the rest: a post the user made themselves, or one that missed. Submitting enters it on their Content Rewards account, so get an explicit yes first.
If the plan has several workspaces, call workspaces_list first and ask which one, then pass workspace=<id> to every tool below. On an à la carte plan, pass the workspace number from workspaces_map as set on the rewards_* tools (the set the post's account is in).
Two limits to respect
- The window: most campaigns only accept a post within 30 minutes of it going live. Older posts are usually refused; say so rather than trying.
- The review queue cap: a campaign caps how many of a creator's posts can wait for the brand's review at once. Past it, every submit is refused. Never retry a refused submit in a loop.
1. Find what isn't submitted
rewards_mine: joined campaigns with their submissions.rewards_posts: every campaign clip with itsstage.live= posted but not submitted (submittedis done). Each post carries itsurl, platform and views.- A post the user names by link: confirm the campaign with them and that its account is linked (
rewards_accounts).
2. Check the queue
rewards_reviews { status: "review_required" }: how many posts already wait for the brand. If the campaign's brief (rewards_campaign_get) states a cap and the queue is at it, stop: tell them it frees up as the brand reviews.
3. Confirm
List each post to submit: campaign, platform, link, how long it has been live. Flag any past the 30 minute window. Ask for a yes.
4. Submit (after the yes)
For each: rewards_submit { campaign_id, post_url }. Report each result as returned. If one is refused for the review queue, stop the rest. If refused as too late or from an unlinked account, say which.
5. Report
Submitted, refused (with the reason), skipped. Note that Clippy's own posts submit automatically, and offer /review-status to follow them.