Using Zapier Postmark Triggers
Postmark offers three "triggers" on Zapier which are events that are caused by Postmark on the Zapier system. This means that Postmark has sent data to Zapier based on something that happened at Postmark such as receiving a new inbound message, capturing a bounced email, or receiving a new message open.
Zapier lists over 300 integrations on their system which means it's possible to connect Postmark and arrange to perform an almost unlimited number of tasks with your data.
Choose a Postmark Trigger
The first thing you'll need to do when connecting your Zapier account to Postmark, is to choose which Postmark trigger you'd like to capture. In this example, let's capture the New Inbound Message trigger.
Choosing an Action
Next, let's choose an action for our Inbound data to get sent to. There are dozens of ways we can use the details and content from the Inbound message. For example, let's create a support ticket in Desk based on the information in the message.
Connecting Your Postmark Server
When choosing a Postmark Server to connect to Zapier, you will be asked for your X-Postmark-Server-Token. This is located under the credentials tab in your Postmark server. Paste the API token as instructed. Zapier will confirm the token and your Postmark server will then be connected to Zapier.
Updating Your Postmark Settings
Zapier will generate a unique url for you to add to your Postmark Inbound settings. Go to your Postmark server, input the url, and press the "test" button. The test will send an API call to Zapier triggering a confirmation internally that your Postmark settings have been updated correctly.
Map Fields to Desk
Using the Zapier tool, map fields incoming from Postmark to fields in the Desk integration. You can mix ad-hoc text with the fields to customize your integration. For example, in the screenshot below we've customized the description field with ad-hoc text. We can then add fields to the description as needed.
Once the integration is confirmed by Zapier, it will be activated. Each time an Inbound email is sent to the address associated with the Postmark server that is setup with the integration, a new Desk ticket will be generated automatically.
Other Postmark Triggers
Postmark includes two other triggers that send data to Zapier, the Bounce Hook and the Opens Hook. The Bounce Hook will send data to a web hook for each bounce received. Likewise, the Opens Hook will send data for each message that is setup for open tracking. You can use any of the actions provided by other Zapier providers and integrations to channel the data from these hooks as needed.