Skip to content

Commit f3500ec

Browse files
add auto-optin docuemntation to message handler doc
1 parent a530bad commit f3500ec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/HOWTO-use-message-handlers.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ This is especially useful to auto-optout hostile contact replies so texters do n
3333
need to see them. Additionally the JSON object can encode a "reason_code" that will
3434
be logged in the opt_out table record.
3535

36+
## auto-optin
37+
38+
When a contact replies with "START" (case sensitive), they are added to a the opt_in
39+
table and marked as opted-in in the campaign_contact table. You may alter the opt-in
40+
language by adding AUTO_OPTIN_REGEX_LIST_BASE64 which should be a JSON object encoded
41+
in base64 following the structure: \`[{\"regex\": \"\",\"reason\": \"\"}]\`
42+
3643
### profanity-tagger
3744

3845
Before you enable a custom regular expression with auto-optout, we recommend strongly

0 commit comments

Comments
 (0)