2022.2

Table Of Contents
Check the option Use as step description to display the text next to the icon of the plugin in the Pro-
cess area.
SendGrid
The SendGrid plugin's settings allow you to:
l
Tag the emails with category names, which help organize your email analytics (see About cat-
egories).
l
Set a time at which the emails should be sent (see Scheduling parameters).
l
Add custom headers specifying specific handling instructions for your email. (To get an idea of
what these could be used for, see SendGrid's blog post about email headers.)
In addition, you may specify the unsubscribe group to associate with the email, along with an optional
array containing the unsubscribe groups that you would like to be displayed on the unsubscribe pref-
erences page. This requires adding a custom header, not in the plugin's properties, but in the template,
via a Control Script. How to add custom headers via a Control Script is explained with an example in
the Designer help. The header's name should be asm and its value a JSON string with the unsubscribe
group (group_id, required) and the groups to display (groups_to_display, optional, max. 25); for
example: "group_id":12345,"groups_to_display":[12345,23456,34567]" (see also: SendGrid's doc-
umentation).
Note that any other custom headers will not be processed. Only the asm header will be used.
Input
Extra attachments
To specify an extra attachment, you have to use the key/value pair "disposition":"attachment".
To let the plugin know where it can find the attachment, you can either provide a full path ("url"), for
example:
[{"url":"file:///C:/Terms-and-Conditions.pdf","disposition":"attachment"}]
or
[{"url":"http://www.example.com/image.png","disposition":"attachment"}]
or a Connect File Store ID ("fileid"), for example:
[{"fileid":100034, "disposition":"attachment"}]
Optionally, you may provide a name ("name") to override the name that the plugin creates for an extra
attachment.
Examples:
[{"fileid":100034,"name":"example.pdf","disposition":"attachment"}]
[{"url":"file:///C:/Terms-and-Condi-
tions.pdf","name":"terms.pdf","disposition":"attachment"}]
Page 590