Using Zapier, it is possible to trigger zaps that fire based on user events, including registration and payment updates. You can use this to be notified whenever a new user joins your community through Pico or to send payments to another platform you use that is also connected to Zapier.

There are separate events to subscribe to so that you can control the frequency of zaps according to your needs.

Pico sends two main event types to Zapier, Contacts and Payments. From within each of those, you can specify if you'd like to trigger zaps based on event type.

Connecting to Zapier

Our connection with Zapier is still in Beta, so you'll need to add the app to your account by visiting the following link.

https://zapier.com/developer/public-invite/106455/ed6aa9f353a258168e4b54924d3366fc/

Creating a Zap based on Pico Events

Now that you're connected, it's time to create a zap. When creating a Zap, you’ll be able to select Pico from a list of Apps, then select the event. In this case, we’ll be demonstrating how to get a zap for when a new payment is created.

  1. Enter a name for the Zap. We've selected "New Subscription".
  2. Search for Pico.
  3. Select Pico.
  4. Select the even type you want. We're moving forward with Payment Created
  5. Continue.

If this is your first time creating a Zap with Pico you’ll need to connect your account using the credentials we provide. You can generate your credentials by navigating to your integrations page.

If you have credentials already, they'll be listed in the Zapier section to copy. If not, generate an API key using the button that appears instead.

Available Zap Options

New Contact Created (contact.created) - A free user has registered on your site.

Contact Updated (contact.updated) - A user made a change to their account, including changing selections on items like newsletter preferences.

Payment Created (payment.created) - A user has made a purchase through Pico, which could be a subscription purchase, a donation, a gift, etc.

Payment Failed (payment.updated) - Pico attempted to charge but was unable to. This is most common for recurring subscriptions where a credit card may have expired.

Payment Deleted (payment.deleted) - A user cancels a subscription. Note: This also fires when users switch plans, because they are cancelling one plan to join another.

Testing the Zap

To test the zap, we need to configure this Zap with sample data. You can generate sample data by create user accounts on your site / landing pages, or by using the testing buttons on the integrations page of the publisher dashboard in the "webhooks" section.

Creating the Zap

Once you have sample data, you can choose the output, using any app connected to Zapier. Here's an example Slack notification:

We are only displaying a small section of the data available in Zapier that Pico has sent, so the slack notification is simple. The notification is a combination of typed values like "User" and data from Zapier, like "Username", "Recurring", and "Membership".

For a complete list of the possible data values, review the Pico CRM Merge Fields.

Here's how the message looks in Slack.

Did this answer your question?