Integrating with Zapier

Build e-mail generators, slack bots, discord bots and more!

Zapier is a powerful tool for building automations with many integrations (email, slack, discord, google docs, etc...). You can also easily use your flows from Stack AI as an action in Zapier nodes.

To integrate your flow, you need to follow the next steps:

  1. Deploy your flow.

  2. Find the API for your flow under the "Deployments" section and copy the python code.

  3. Go to your Zapier zap and do the following steps:

    1. Add a new action.

    2. Select Code by Zapier.

    3. Create an input_data row for the Action.

    4. Paste the Python code from Stack AI.

    5. Replace the input to your flow with input_data['YourKey']

    6. Return the output from your flow in a Python dictionary

      1. Example: return {'result': output['out-0']}

  4. Test your integration and you are set!

Last updated