Categories

Versions

Using the Zapier Connector

The Zapier connector allows you to connect to over 300 popular Cloud data services. Zapier itself works by defining triggers and actions and combining them into so-called Zaps. The Trigger Zapier operator can be used to trigger your Zaps.

Follow these steps to configure the Zapier connector:

  1. Open a new process New Process Icon in RapidMiner Studio and drag an example set (e.g., Deals data) into the Process view. Note that the Trigger Zapier operator always needs an operator that provides a data set. Your Zap will be triggered once for each example in this set.

    Drag the Trigger Zapier operator into the Process view and click on the operator.

    img/zapier/01-trigger-zapier-operator.png

  2. In the Parameters view, click on the Zapier icon Zapier icon to go to the Zapier website. Accept the invite to use the RapidMiner App on Zapier. If you are not already logged into your Zapier account, do so and accept the invite again.

    img/zapier/02-accept-invite.png

  3. In your dashboard click on Make a New Zap:

    img/zapier/03-create-new-zap.png

  4. Select RapidMiner as Trigger app:

    img/zapier/04-choose-trigger-app.png

    and Trigger Zapier Operator Executed as Trigger:

    img/zapier/05-choose-trigger.png

  5. Choose an Action app from the list (e.g., "Google Docs"):

    img/zapier/06-choose-action-app.png

    and select an action:

    img/zapier/07-choose-action.png

  6. Copy the URL generated:

    img/zapier/08-zapier-trigger-link.png

    and paste it into the parameter zapier url of the Trigger Zapier operator:

    img/zapier/09-past-url.png

  7. Zapier will request you provide a user account for the Action App you selected.

    img/zapier/10-connect-to-action-app-account.png

    img/zapier/11-authenticate-zapier.png

  8. Switch back to RapidMiner Studio, select test hook, and run the process.

    img/zapier/12-run-test-hook.png

    This lets Zapier know which attributes to expect. The following steps will show you how to configure and filter the generated attributes in Zapier. In this test mode only test messages will be sent to Zapier and will not trigger your Zap.

  9. You can add filters such that your Zap will only be triggered under certain conditions.

    img/zapier/13-configure-custom-filters.png

    If the attributes of your example set are not shown in the drop down menus you might have to refresh the website.

  10. Match up the Trigger Zapier operator with your action:

    img/zapier/14-select-document.png

    Follow Zapier's instructions — note that they may differ depending on your Action App. For Google Docs - Create Spreadsheet Row you need to add headers and a row of samples to your spreadsheet:

    img/zapier/15-add-example-row-and-titles.png

    Click on Insert fields to map your data set attributes to your spreadsheet headers:

    img/zapier/16-match-up-attributes.png

    If the attributes of your example set are not shown in the drop down menus you might have to refresh the website.

  11. Test your configuration:

    img/zapier/17-test-the-zap.png

    For our Google Docs - Create Spreadsheet Row example, you can see that a new row is added for each test.

    img/zapier/18-test-row-in-document.png

  12. Name your Zap and turn it on:

    img/zapier/19-name-and-save-zap.png

    You can see the status of your Zap in the dashboard:

    img/zapier/20-zap-overview.png

  13. Now you can use the Trigger Zapier operator in your process! Remember to deselect the test hook before running it:

    img/zapier/21-deselect-test-hook.png

    Running our sample process with Google Docs - Create Spreadsheet Row produces the following spreadsheet:

    img/zapier/22-zap-results.png