Log in on web-site UniSender.
To get API access key, go to section "Account setup ".
You will find your API access key on the tab “Integration and API".
For API testing, select test mode in front of your access key, and click "Save."
For sending messages through UniSender on Corezoid you have ready-made processes for UniSender method calling available:
- createList – creation of a new mailing list
- subscribe – subscription of a recipient to one or several mailing lists
- sendEmail – Е-mail sending
- checkEmail – check of Е-mail delivery status
How to work with these methods in Corezoid?
You may use each process individually (for example, only for checking email delivery status), and call the required methods in succession with the use of logic RPC.
For example, if you want to create a new mailing list
(createList), subscribe a recipient to that list
(subscribe), send email to it
(sendEmail), and then to check e-mail delivery status
(checkEmail), you have a ready-made process "Е-mail sending through UniSender".
Click Use this process and template of process "UniSender_E-mail sending" will copy to your environment.
In the process of email sending through UniSender you may use process templates individually for each method presented in the folder (createList, subscribe, sendEmail, checkEmail) or call them in succession from the main process "Email sending through UniSender" using Logic RPC.
To test all processes, go to dashboard
of the main process "Email sending through UniSender" and click Add task
- to add the request.
In the opened window specify:
key
- API UniSender access keylistname
- new list name for creating a new listname
- recipient name for subscription of the recipientemail
- е-mail address of the recipientFROMemail
- е-mail address of the senderFROMname
- name of the sendersubject
- subject of the messagebody
- mail body in HTML format.
When drawing up the text of the mail, pay attention to the opportunity of substitution of lines in the mail.
double_optin
- number from 0 to 3 for the recipient subscription. Whether the recipient confirmed consent is available, and what to do if the limit of subscription is exceeded. Read more on link.
After the request parameters are specified, press the button Send task
.
As a result of process work the request will be passing along the process and then will be transferred to one of the final states (red color node).
If all parameters are stated correctly, e-mail is sent, and the request goes to the finite state with the relevant status of e-mail sent.
In case of error, the request goes to the finite state with the relevant error name.
Full list of UniSender methods and their description is available at web-site.