Created
December 19, 2017 18:44
-
-
Save dzimine/f5768318488cbf28b192e72cfc4fe531 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sls stackstorm info --action activecampaign.contact_sync | |
activecampaign.contact_sync ... Sync a contact. | |
Parameters | |
api_action [string] ........ contact_sync | |
api_key [string] ........... Your API key | |
api_output [string] ........ xml, json, or serialize (default is XML) | |
email [string] (required) ... Email of the new contact. Example: '[email protected]' | |
field [object] ............. 'value' (You can also use the personalization tag to specify which field you want updated) | |
first_name [string] ........ First name of the contact. Example: 'FirstName' | |
form [string] .............. Optional subscription Form ID, to inherit those redirection settings. Example: 1001. This will allow you to mimic adding the contact through a subscription form, where you can take advantage of the redirection settings. | |
instantresponders [object] . Use only if status = 1. Whether or not to set "send instant responders." Examples: 1 = yes, 0 = no. | |
ip4 [string] ............... IP address of the contact. Example: '127.0.0.1' If not supplied, it will default to '127.0.0.1' | |
last_name [string] ......... Last name of the contact. Example: 'LastName' | |
lastmessage [object] ....... Whether or not to set "send the last broadcast campaign." Examples: 1 = yes, 0 = no. | |
noresponders [object] ...... Whether or not to set "do not send any future responders." Examples: 1 = yes, 0 = no. | |
orgname [string] ........... Organization name (if doesn't exist, this will create a new organization) - MUST HAVE CRM FEATURE FOR THIS. | |
p [object] ................. Assign to lists. List ID goes in brackets, as well as the value. | |
phone [string] ............. Phone number of the contact. Example: '+1 312 201 0300' | |
sdate [object] ............. Subscribe date for particular list - leave out to use current date/time. Example: '2009-12-07 06:00:00' | |
status [object] ............ The status for each list the contact is added to. Examples: 1 = active, 2 = unsubscribed | |
tags [string] .............. Tags for this contact (comma-separated). Example: "tag1, tag2, etc" | |
Config | |
api_key [string] (required) . ActiveCampaign API Key. | |
url [string] (required) ..... ActiveCampaign Account URL | |
webhook [object] ........... Webhook sensor specific settings. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment