Actions24
- User Actions
- Publish Actions
- Media Actions
- Comment Actions
- Messaging Actions
- Auth (Token) Actions
Comment → Create
AI-generatedSummary
Post a new top-level comment on an Instagram media object via graph.instagram.com (Instagram Login API), returning the API's response for the created comment.
Inputs
- Media ID (required) — ID of the Instagram media to comment on (commentMediaId). Used in the path POST /{version}/{mediaId}/comments.
- Message (required) — Comment text, sent as the
messagequery parameter. - Graph API Version — graph.instagram.com API version used in the request path. Defaults to v21.0.
- Access Token (Override) — If set, this token is used instead of the Instagram Login API credential. Can be an expression to post as different accounts per input item.
Output shape
One output item per input item, containing the raw JSON response from the Instagram API (typically the new comment's id).
Runs once per input item, with each output paired to its input item. If Continue On Fail is enabled, a failed item yields {error: message} instead of stopping the workflow. The exact response fields aren't defined in the node source; they are whatever the API returns.
Examples
Example 1: Post a fixed comment on a specific post
Resource: Comment, Operation: Create, Media ID: a known media ID, Message: 'Thanks for watching!'
Example 2: Comment on each media item returned by an earlier step
Media ID: {{ $json.id }}, Message: expression-built text; runs once per input item.
Example 3: Comment as different accounts in a multi-account workflow
Access Token (Override): {{ $json.account_token }}, Media ID: {{ $json.media_id }}, Message: {{ $json.text }}