Create Transmissions

SparkPost is an online email delivery service provider for developers and businesses. This activity lets you create a new transmission to send a specified message template to specific recipients. To do this, add this activity to the canvas and configure it. Select the appropriate connection for SparkPost from the drop-down list. If you haven’t created a connection yet, select ‘Add New’ to create one. 

Field data

Transmission Start Time (Optional): Enter the date and time at which you wish to initiate the message transmission, in YYYY-MM-DDTHH:MM:SS ±HH:MM format. By default, the message transmission is initiated immediately after the flow execution.

Open Tracking (Mandatory): Specify if you wish to enable or disable open tracking. Available options are 'True' and 'False'. By default, the value for this field is set to 'True'.

Click Tracking (Mandatory): Specify if you wish to enable or disable click tracking. Available options are 'True' and 'False'. By default, the value for this field is set to 'True'.

Campaign ID (Optional): Enter the ID of the campaign with which the transmission is associated.

Metadata_Key (Optional): Enter the key for metadata.

Metadata_Value (Optional): Enter the value for the specified key.

You can add metadata values for multiple keys by clicking on the '+ADD' link.

Substitution Data_Key (Optional): Enter the key for substitution engine.

Substitution Data_Value (Optional): Enter the value for the specified key.

You can add substitution values for multiple keys by clicking on the '+ADD' link.

Recipients (Mandatory): Enter the recipient details in this block.

   - Recipient_Address (Mandatory): Enter the email ID of the recipient to whom you wish to send the message.

   - Recipient_Name (Optional): Enter the name of the recipient to whom you wish to send the message.

   -Recipient_Metadata Key (Optional): Enter the metadata key for the specified recipient.

   -Recipient_Metadata Value (Optional): Enter the value of the metadata key for the specified recipient.

    You can add values for multiple metadata keys by clicking on the '+ADD' link. 

   - Recipient_Substitution Key (Optional): Enter the substitution key for the specified recipient.

   - Recipient_Substitution Value (Optional): Enter the value of the substitution key for the specified recipient. 

   You can add values for multiple substitution keys by clicking on the '+ADD' link. 

   - Tags (Optional): Enter a comma separated list of tags. 

You can specify details for multiple recipients by clicking on the '+ADD' link. 

Template ID (Mandatory): In the ‘Template ID’ field, you need to select/specify the name/ID of a template that you wish to send as a message. Clicking the ‘Refresh’ icon will fetch the list of all templates from your SparkPost account—based on the connection selected—and display it in the drop-down list. 

In case there are too many templates, you can search the required one by its ‘name’ or ‘ID’. Alternatively, you can manually enter the name or ID of a template that you wish to send as a message or use the output of the previous activity as an input for this field.

create-transmissions

Once you have selected a connection, click on 'Done' and 'Run' the flow. This will create a new transmission in your SparkPost account. 

Refer to SparkPost API documentation for more information: https://developers.sparkpost.com/api/transmissions#transmissions-create-post

Output:
  • output-arrow sparkpost Create Transmissions
    • left-triangle results object