Adding Event Filtering to your Zaps
Mark Frantz avatar
Written by Mark Frantz
Updated over a week ago

If you only want to act on certain events coming from Common Paper, Zapier has a filter step that you can add to ignore certain webhooks.

To add this, edit your Zap, and then click the + between the webhook action and the action where you are using the webhook data. In this example, we've integrated with Slack.

Choose the Filter option.

Once editing this new action, youโ€™ll see the conditionals.

For the first dropdown, pick Event Type from the webhooks section of Insert Data. This is the field that tells us what event occurred in Common Paper.

The Event Types correspond to the Action column in the Events table on the Webhook documentation. This table describes each type of event that could be sent through the webhooks.

Here are a few examples:

For the Condition, choose (Text) Exactly Matches.

And for the final field, enter the text of the Action from webhook documentation that you want to allow through to create messages.

So, for instance, this configuration only would display messages in Slack when an agreement is sent.

If you want to display messages for additional actions, use the +OR button to add additional conditionals.

For example, this configuration would show both sent agreements and when agreements have been signed by both parties.

Once you have the conditions you want, click Continue and the Zap will tell you what would have happened based on the test data from the webhook.

If everything looks good, go ahead and Publish the zap.

Did this answer your question?