Zapier is an online automation tool that connects your favourite apps, such as Gmail, Slack, Mailchimp, and more. You can connect two or more apps to automate repetitive tasks without coding or relying on developers to build the integration. It’s easy enough that anyone can build their own app workflows with just a few clicks.
Within EPD, there are triggers and actions available within the Zapier integration. A trigger is an event that is started by EPD which then triggers another event, in any supported application. An action, is an event that is triggered by another event.
Triggers are how you can start automated workflows whenever events occur within EPD. New emails, messages, blog posts, subscribers, form entries, commits, and much more are the initial data that underpin every Zap.
EPD can trigger an event within Zapier when;
- A new demo site is registered
- A demo site is reset
- A demo site is deleted
For each trigger, EPD automatically sends information to Zapier as soon as the associated event has completed, telling it that the trigger has occurred. You can then configure your Zaps to perform actions with any applications you choose.
Zapier actions push or put new data into EPD through API calls. For example, you can configure Zapier to create a new demo site within EPD when it receives a trigger from any supported third party application.
Currently EPD supports the following actions from Zapier;
- Create a new demo site
Configuring Zapier Integration
In Your WordPress Multisite
Before you can create triggers and actions within Zapier, within your WordPress multisite network admin;
- Navigate to Settings -> Easy Plugin Demo
- Click the Premium Features tab and the REST API section link
- Click to Reveal Secret Key and copy the key somewhere safe for use later
- If you intend to use a Zapier action to create a new demo site, you will also need the EPD Remote Secret Key. If you have this configured already for EPD Remote, simply reveal the key and copy it for later use. Otherwise, enter a unique key of your own choosing. Remember to click Save Changes if choosing your own key
- Click the Integrations tab and then the Zapier section link
- Check the box to Enable Zapier and Save Settings
- Click this link to gain access to the currently private EPD Zapier App – https://zapier.com/developer/public-invite/114971/10cc52e163ae7c9302cbac8d384640fa/
Create a Trigger with EPD
- Log in if required and click the button to Accept Invite & Build a Zap
- Create a new Zap and select Easy Plugin Demo as the triggering service (if you do not see our application initially, start typing Easy Plugin Demo in the search box)
- The first time you create a Zap with Easy Plugin Demo, you will need to authenticate your site by providing your site URL and API Secret Key which you obtained in the previous steps
- Configure the Zap to behave as you need
- Zapier will then ask you to test your trigger
- Click the button to Test Trigger. Zapier will report that no demo was found and that’s fine. We’ll resolve that in the next step
- When you see the above screen, return to your WordPress multisite network screen – Settings -> Easy Plugin Demo -> Integrations -> Zapier and send the test trigger that Zapier is requesting
- After clicking the correct trigger, return to Zapier and click the Test Trigger button. The test will complete successfully and you will now see the following screen
- Click Continue
- You can now complete your Zap by adding in the necessary actions
- Test your new Zap once completed. Note that EPD uses Zapier’s REST API hooks to instantly notify Zapier when a trigger occurs
Create an Action to EPD
If you intend to trigger a Zap from another application, and then use Zapier actions to connect back to EPD, create a new Zap and complete the configuration steps for your application trigger.
- Once you reach the Action screen, select Easy Plugin Demo as the application (if you do not see our application initially, start typing Easy Plugin Demo in the search box)
- Complete the fields until you reach the Set up action screen
- For each input field, select the relevant data source provided by your trigger. In the Remote Phrase field, enter the EPD Remote Secret Key you obtained in a previous step
- Click Continue once you have finished
- Test your new Zap
Requirements for Zapier Integration
- Easy Plugin Demo version 1.3.9 and above
- EPD Premium Pack version 1.5.1 and above