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:
Deploy your flow.
Find the API for your flow under the "Deployments" section and copy the python code.
Go to your Zapier zap and do the following steps:
Add a new action.
Select Code by Zapier.
Create an input_data row for the Action.
Paste the Python code from Stack AI.
Replace the input to your flow with
input_data['YourKey']
Return the output from your flow in a Python dictionary
Example:
return {'result': output['out-0']}
Test your integration and you are set!
Last updated