Generate Monitored Post Comment
generate_monitored_post_commentPrefer this over queue_linkedin_post_engagement (with your own text) when acting
on a post from the agent's monitored-posts feed. Pass a row id from
query_monitored_posts. Only posts with no queued comment are eligible
('filtered', 'skipped', 'skipped_no_credit', 'captured', 'surfaced');
already-commented, queued, or user-rejected posts are refused.
A queued-status dict in one of three forms.
{'queued': True, 'awaiting_approval': bool, 'status': 'queued', 'draft_comment': str, 'agent_id': int, 'message': str}
on success (1 credit charged); agent_id is the agent monitoring the post
{'queued': False, 'deduped': True, 'message': str} if a comment is already queued
{'queued': False, 'error': 'not_found'|'not_eligible'|'out_of_credits'|'no_draft'} otherwise
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on_behalf_of | No | A teammate's email (one with team actions turned on), or an agency client's from list_agency_clients, to run this call in that account: their agents, settings, connected accounts, and credits. Omit it to act on your own account. | |
| monitored_post_id | Yes | The `id` of a monitored_posts row (from query_monitored_posts). |