Update comment DM rule
update_comment_dm_ruleChanges an Instagram comment DM rule, or turns it on or off with enabled. Only the fields you pass change. Turning a rule off always works, even on a lapsed plan. People who already got the rule's DM don't get it again after an edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | True to send, false to pause. | |
| message | No | The DM text, up to 1,000 bytes. Include a line saying it's automated, such as 'This is an automated message.' Some places, like California and Germany, require that. The result's disclosure_missing is true when there's no such line. | |
| post_id | No | Instagram post id from list_comment_dm_posts to watch one post. Null or left out on create watches every post. | |
| rule_id | Yes | Rule id from list_comment_dm_rules. | |
| keywords | No | Up to 20 words or phrases people comment to get the DM. Whole words, any case: 'link' matches 'Link please' but not 'linked'. Emoji work too. | |
| workspace_id | Yes | Workspace with the Instagram connection. Required. Get one from list_workspaces. |