Skip to content

"Storage by Zapier" for keeping login data#

Adding data to storage#

Switching instance data in complex scenarios can be very time-consuming and error-prone. "Storage by Zapier" is a convenient and quick way to do this.

  1. The first step in setup is adding data. The easiest way is to use a separate Zap. It will be responsible for changing instance data. To do this, create a new Zap and add the "Storage by Zap" action.

    Image. Add "Storage by Zapier" action

  2. At the new window choose the event type "Set Multiple Values".

    Image. Сhoose the event type

  3. Add 4 fields whose data you may need when creating automation via Green API:

    Image. set values "Storage by Zapier"

    • apiUrl - API host link
    • mediaUrl - API host link for sending files
    • idInstance - instance unique number
    • apiTokenInstance - instance access key

Click on "Test step" will save the values ​​to the repository. This automation will save the data for reuse in all other automation, making it easy to create complex scenarios.

Using data from storage#

The values ​​can now be used in other automation by creating a "Storage by Zapier" action and selecting the "Get Multiple Values" event type.

  1. Select the action "Storage by Zapier"

    Image. Select action storage "Storage by Zapier"

  2. In the window that appears, select the event type "Get Multiple Values"

  3. In the next action add values ​​from the storage

    Add apiUrl from the storage Add idInstance from the storage Add apiTokenInstance from the storage