zapier-langchain-quickstart icon indicating copy to clipboard operation
zapier-langchain-quickstart copied to clipboard

A Jupyter python notebook to Execute Zapier Tasks with GPT completion via Langchain

Dependencies

pip install pip install jupyterlab
pip install langchain
pip install openai
pip install python-dotenv

Requirements

  • OpenAI APIkey
  • Zapier Natural Language API Key
  • Zapier NLA Project ID (create a demo task in their UI according to website instructions listed below in resources)

RUN

  1. clone repo
  2. cd into zapier-langchain/quickstart
  3. add .env file with your OpenAI and Zapier API keys
  4. run jupyter-lab in terminal
  5. Setup your Zapier NLA project in the Zapier NLA UI
  6. Edit the agent.task and run all cells in ZapierLangchain.ipynb

Resources

  • Jupyter notebook https://jupyter.org/install
  • Langchain Quickstart Guide https://langchain.readthedocs.io/en/latest/getting_started/getting_started.html
  • OpenAI API Keys https://platform.openai.com/account/api-keys
  • Zapier NLA Docs https://nla.zapier.com/api/v1/dynamic/docs
  • Zapier NLA Get Started https://nla.zapier.com/get-started/
  • Zapier API signup https://zapier.com/l/natural-language-actions