Zapier Integration

1. Introduction

Zapier is a cloud service that provides API Integrations with a large number of other Cloud Services. If you have a Zapier account, you can Integrate MyBOT with the same to use any of the Zapier Integrations

Zapier classifies their functionality under the following constructs:

  • A trigger is an event in an app that starts the Zap. Once you set up a Zap, Zapier will monitor the app for that event.
  • Action is the event that completes the Zap. You can create a 2-step Zap or make it more complicated adding more action steps.

You can use the Zapier default node to have an integration with any of the other apps on Zapier or you can use the dedicated app nodes provided by MyBOT.

For more details on Zapier, visit Zapier Documents 

2. Prerequisites 

There are a few things you should be having before we move ahead, so make sure you are ready with the following set of items:

  1. Zapier account
  2. Account for any third-party app that you wish to integrate with.

3. Direct Zapier Integration 

You can use the default Zapier node to have an integration with any app on Zapier which does not have a dedicated node on MyBOT. You can follow the below steps to have integration to have a sample integration with Slack.

3.1 Steps to Configure Zapier for Slack

3.1.1 Setting MyBOT app on Zapier

  1. In the Paths section, click on the add node button and check the Zapier node.
  2. There are two ways by which you can add MyBOT app in Zapier
    1. You can follow the link in the Zapier node you can use the link below: 
    2. Or in your Zapier account just go to [Settings->My Apps->Search for a new account to connect under Connected Accounts], Search for “MyBOT” Once you find MyBOT in the drop-down menu click on it and you will be prompted with this Screen.
    3. Once you have this screen just enter the details from the MyBOT platform from [Integrations->Developers Settings], Or you can get this information while creating a Zapier node too.

3.1.2 Setting the MyBOT as a Trigger

  1. Once you have added the MyBOT account to Zapier, Start with creating a Zap. For the trigger step, select MyBOT application from the dropdown and click on “New Zap Event” as the Trigger to start with the integration or if you followed the above link it will start with the pre-assigned trigger as MyBOT.

3.1.3 Setting the Action app

  1. After this Add a new Step and Search for Slack.
  2. Choose the Action from the list of actions you can perform with Slack(Here the action selected sends a direct message).

3.1.4 Connect your Slack account

  1. Once you select save and continue Zapier will ask you to connect your Slack account and permissions accessing your Slack account.

3.1.5 Setting up the Action 

  1. Add your account and start setting up your action.
  2. For Sending a Direct message there are two mandatory fields.
       a. “Username” for the user you want to send a message to(This list will be fetched populated from you Slack workspace).
       b. “Message Text” this message field can either be written by you(hardcoded) or can be populated by a bot user in the form of an attribute. If you want it to be sent by the user select an attribute from the drop-down for example. “Attribute 1”.
  3. Once you do this Save this step it will test it and finish it. And finally, turn your Zap on.

3.1.6 Configuring Zapier node on MyBOT 

  1. After completing the Zapier part switch to the MyBOT portal Click on next on the Zapier node.
  2. Write an Event key for this node (this because if you create multiple Zapier integrations once you go to Zapier you can differentiate between each Zapier integration call based on this event key).

3.1.7 Setting up Attribute in the Zapier node

  1. While setting up the Attributes make sure you are assigning the right attribute in the right field Suppose Attribute 1 was set as “Message Text” in your Zap so make sure in this node Attribute 1 is set to an Attribute which takes in a message from the bot user and respectively the other Attributes should be set.
    [Note: these Attributes for the Message Text you have to create using a Request user data node or a Set attribute node in the portal](Here the attribute for taking the Message Text from the user is stored in the attributes named message)
  2. Once you set all the corresponding Attributes to their fields Save the node and your Slack via Zapier for sending a message to a Slack user is ready.

Was this article helpful?

Related Articles

Leave A Comment?