Configure Zapier for Payments
If, for some reason you’re not able to sell membership through our Shop feature but you still want to charge for access to your Community, you can do so using a separate payment gateway that you set up and manage externally from your Community.
What are Automated Roles?
Graphy Community Platform is built on a role-based architecture. All permissions, access grants, and revocations occur through community roles. You can learn more about it here. Automated roles involve automating the assignment of community roles based on certain triggers and actions. This document will explain how role assignment is handled through Zapier. We also recommend creating a separate role that includes permissions to access any group or category you wish to manage access for.
What is Zapier, and what does it do?
Zapier enables you to connect and automate tasks between your community and other 3rd party applications. We've initiated this approach with the basic Graphy Community Platform to Your Payment Gateway Integration. This integration is available on The Pro Plan and above. To use this, Zapier requires setting up Zaps, or workflows that specify what should happen and when. Zapier offers both free and paid plans, and using this integration requires setting up a Zapier account. Going forward, more use case integrations will be possible.
How does the Zapier integration work?
Although Zapier can automate hundreds of actions for your community, we're currently focusing on payment processing. To begin:
- Set up a Zapier account if you haven't already.
- If you're new to Zapier, consider their guide on creating Zaps for your connected apps.
Configure the Community Role you want to automate for.
Step 1: Get an Automate URL from your community
- Log in to your Community.
- Click on the Settings icon in the top left corner.
- In the Integrations tab, locate the “Automate Roles” option.
- Click the “Add Automation” button.
- In the drop-down, select the Role you want to automatically assign through Zapier.
- Selecting the role will reveal the API Token for role assignment for the chosen role.
- Copy the API token for later use.
Step 2: Use the Zap template
- As soon as the role is selected (as shown above), the Stripe (payment gateway) template is also provided for each selection.
- Clicking the “Open Zapier” button directs you to the Stripe to Graphy Community Platform Zapier connection.
- To “Try this Zap”, a Zapier account is required. Check here.
- This will then open the template, which already has the Stripe app as a “Trigger” and the Graphy Community Platform app as an “Action”.
- The Zap can be configured in the right sidebar.
Configure the Trigger and Action for your Zap
Step 1: Set up Stripe as the Trigger.
- The event on the Stripe trigger will already be selected as New Payment.
- In the Account tab, click “Sign In” to authenticate your Stripe account.
- After your Stripe account is authenticated, click “Continue”.
- This will prompt you to test the connection. If you have previous payments in Stripe, you can select any one and Test it.
Step 2: Set up Graphy Community Platform as Action.
- This will take you to the Actions section where you need to authenticate your Graphy Community Platform connection.
- The App - “Graphy Community Platform is already added, and for the Event - “Add User To Community” is already selected.
- In the Account tab, click “Sign in”.
- Signing in will reveal a field for adding the “API token” for the connection.
- Paste the API token you copied initially into this field. After continuing, your community will be authenticated for the selected role.
- In the Action tab, an “email” input field is displayed. This email will be the same email set during the payment process. The role will be assigned to this email only.
- To do this, locate and select the “Charge Billing Details Email” option from the drop-down.
- Click “Test step” and you will see the test success detail as shown below.
- Click “Publish” to publish your Zap. The role assignment upon receiving payments will now start automatically.
Key Points:
- The role you select will be assigned to the email used during payment.
- If a user is already signed into your community with that email and makes a successful payment via Zapier, their new role will be immediately visible upon refreshing.
- If the user hasn't signed up yet with that email and makes a successful payment via Zapier, they need to sign up to see their assigned role.
- Besides Stripe, other payment gateways like Razorpay can be used to automate role assignment with payments. Simply create a new Zap, selecting the payment gateway as the Trigger and the Graphy Community Platform app as the Action.
- Zapier automation isn't limited to this function. More triggers and actions will be added soon, expanding the potential for automating further activities within your community. Best of Luck!!