Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 2.11 KB

File metadata and controls

24 lines (19 loc) · 2.11 KB

CreateCommentAutomationRequest

Properties

Name Type Description Notes
profile_id String
account_id String Instagram or Facebook account ID
trigger Option<Trigger> What fires the automation. 'comment' (keyword comment on a post) or 'story_reply' (keyword reply to an Instagram story). For 'story_reply', platformPostId is the story media id (omit for any story). (enum: comment, story_reply) [optional][default to Comment]
platform_post_id Option<String> Platform media/post ID (or story media id when trigger=story_reply). Omit for an account-wide (any-post / any-story) automation. [optional]
post_id Option<String> Zernio post ID. Required only when also targeting a specific post via platformPostId. [optional]
post_title Option<String> Post content snippet for display [optional]
name String Automation label
keywords Option<Vec> Trigger keywords (empty = any comment triggers) [optional]
match_mode Option<MatchMode> (enum: exact, contains) [optional][default to Contains]
dm_message String DM text to send to commenter. Max 640 chars when buttons are set, otherwise ~1000.
buttons Option<Vecmodels::DmButton> Optional inline DM buttons (1-3). Phone buttons are Facebook-only. Omit or pass [] for a plain-text DM. [optional]
comment_reply Option<String> Optional public reply to the comment [optional]
link_tracking Option<bool> Wrap link buttons in the DM in a tracked redirect so clicks are counted (Link Clicks / CTR). Pass false to send links exactly as written. Defaults to on. [optional][default to true]
click_tag Option<String> Optional tag applied to a contact when they click a tracked link (requires linkTracking). Lets you segment clickers for broadcasts/sequences. [optional]

[Back to Model list] [Back to API list] [Back to README]