Wоrkflоws
Tasks aka Nodes
Mailchimp node
10min
this node will allow you to synchronize hyperportal data with mailchimp contacts the node currently has the following settings credentials here you can enter your credentials for mailchimp (for example api key) to add new credentials click on the field, then on 'add credentials' to edit existing credentials click on the pencil icon all credentials are stored in cms > credentials please don`t add or edit credentials in cms, they won`t work that way you can only add or edit credentials in workflow node settings parameters authentication there are currently two types of authentication api key, oauth2 resource mailchimp node can currently interact with the following resources campaign, list group, member, and member tag each resource has certain operations member operations delete deletes the item from mailchimp for example the node will delete the contact from the 'hyper test' email list it will delete the record that has the same email as the selected contact in the workflow process get this operation will get all information about the mailchimp item example this node will get information of the mailchimp contact with the same email as in the selected hyperportal contact the data from mailchimp will be shown in json format to view the output of the node you need to go to the process overview then double click on the needed node the output of the mailchimp node will generally look like this you can reference mailchimp`s output data by entering the name of the field in this way $json field name where 'field name' is the name of the field let`s look at the example we have a create entity node this node will create a contact in hyperportal using data from the mailchimp node as you can see it refers to mailchimp fields by their names let`s look at the mapping of the 'last name' field first, we start with '$json' then we should enter the name of the section('merge fields') where the last name is in the end, we should enter the name of the needed field 'lname' so to refer to the last name we should have this expression '$json merge fields lname' 'get' operation has the following options fields here you can specify what mailchimp fields to return exclude fields here you can specify what fields to ignore get all this operation can get multiple items from mailchimp you can set a max limit of the items or you can return all items by enabling the respective option 'get all' operation has the following options before last changed restrict results to subscribers whose information changed before the set timeframe before timestamp opt restrict results to subscribers who opted in before the set timeframe email type filters users by the type of the email they choose (html or text) status restrict results to subscribers who have certain status (subscribed, unsubscribed, cleaned, pending, transactional) since last changed restrict results to subscribers whose information changed after the set timeframe update this operation will update an item in mailchimp example this node will update a mailchimp contact with the same email as in the selected hyperportal contact in the update fields section, you can choose what fields will be updated, and what information will be used to update those fields for example we can update the first name of the mailchimp contact by entering the id of the corresponding field campaign operations delete, get, and get all operations are the same as in the 'members' resource replicate creates a copy of the campaign to choose a needed campaign you should enter its id resend this operation will resend a campaign, it applies only to campaigns that were previously executed send will send a new email campaign