Papertrail can invoke a Zapier action using a webhook trigger, which can then invoke any desired action in Zapier.
Papertrail sends data to a Zapier webhook URL when the alert fires.
You’ll see the Pick off a Child Key dialog:
To focus on event details, enter
payload.events. For other data, enter the related key, or leave it blank to get all the data. Click Continue to show the Zap’s webhook URL and use Copy to clipboard to grab it.
Once the alert is set up, add an action of your choice to your Zap to process the data, such as sending data to Google Sheets, Gmail, Trello, GitHub, or BitBucket.
Create a Google spreadsheet with column names corresponding to the fields you’re interested in. For this example, use log event details, and enter fields such as
Now that the webhook URL has been created and saved, move on to the Test this Step verification.
Open the saved Papertrail alert and click Send test data. In Zapier, click OK, I did this. Zapier begins waiting to see data come to the hook URL and in a moment, it displays Test successful.
Once the test has succeeded, set up the action. First select the Google Sheets app, then:
First select the Slack app, then:
Papertrail offers a direct Slack integration, which is a great choice for most use cases, but running the payload through Zapier provides an easy way to customize the message content.