SparkPost is an online email delivery service provider for developers and businesses. This activity lets you retrieve the details of some or all transmissions of your SparkPost account. It is important to note that it will only retrieve the transmissions that have multiple recipients or that have been completed in the timeframe of last 24 hours. Transmissions with single recipient or transmissions completed before 24 hours are excluded from the result. 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.
Campaign ID (Optional): In the ‘Campaign ID’ field, you need to select/specify the name/ID of a campaign that was used for the transmission. Clicking the ‘Refresh’ icon will fetch the list of all campaigns from your SparkPost account—based on the connection selected—and display it in the drop-down list.
In case there are too many campaigns, you can search the required one by its ‘name’ or ‘ID’. Alternatively, you can manually enter the name or ID of a campaign that was used for the transmission or use the output of the previous activity as an input for this field.
Template ID (Optional): Select/specify the name/ID of a template that was used for the transmission.
Once you have entered all the details, click on 'Done' and 'Run' the flow. This will retrieve the details of some or all transmissions from your SparkPost account.
Refer to SparkPost API documentation for more information: https://developers.sparkpost.com/api/transmissions#transmissions-list-get
- response object