Message Injection

The ‘Message Injection' trigger fires off the flow whenever a message delivery fails and the count of the 'injected' messages in your SparkPost account increases by one. To use this trigger, configure the ‘Start’ icon, and from the panel on the right-hand side, drag ‘SparkPost’ into the trigger box. Enter values in the fields as per the instructions given below:

Connect to SparkPost: 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

Select Trigger (Mandatory): Select the 'Message Injection' trigger from the drop-down list.

API Key (Mandatory): Enter the API key for your SparkPost account.   

Trigger Name (Mandatory): Provide a suitable name for the trigger.

You can also use custom filters to add customize conditions for your trigger. 

Field data: 

Input (Mandatory): Add the trigger data key given on the right hand side of the configuration window as an input for this field, as per your requirement.

Condition (Mandatory): Specify the condition from the drop-down list

Expected (Mandatory): Enter the expected value for the specified condition.

Once you have entered all the details, 'Save' the trigger, and click on 'Done'. This will take you back to canvas.