Skip to main content

llama-index tools zapier integration

Project description

Zapier Tool

This tool connects to a Zapier account and allows access to the natural language actions API. You can learn more about and enable the NLA API here: https://nla.zapier.com/start/

Usage

This tool has more extensive example usage documented in a Jupyter notebook here

Here's an example usage of the ZapierToolSpec.

from llama_index.tools.zapier import ZapierToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI


zapier_spec = ZapierToolSpec(api_key="sk-ak-your-key")
## Or
zapier_spec = ZapierToolSpec(api_key="oauth-token")

agent = FunctionAgent(
    tools=zapier_spec.to_tool_list(),
    llm=OpenAI(model="gpt-4.1"),
)

print(await agent.run("what actions are available"))
print(await agent.run("Can you find the taco night file in google drive"))

list_actions: Get the actions that you have enabled through zapier natural_language_query: Make a natural language query to zapier

This loader is designed to be used as a way to load data as a Tool in a Agent.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_tools_zapier-0.5.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_tools_zapier-0.5.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_tools_zapier-0.5.0.tar.gz.

File metadata

  • Download URL: llama_index_tools_zapier-0.5.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_tools_zapier-0.5.0.tar.gz
Algorithm Hash digest
SHA256 7b024e3592b02fc0e1598f0e5bcbf18900a7da3faa40ba39aa33631845fc1fd3
MD5 2915911ec7be1ea8d35f193fe9d36648
BLAKE2b-256 a50a0de4b222ca443d105e4d6327a94127dfd786b7a7ede55e1280e019582d7e

See more details on using hashes here.

File details

Details for the file llama_index_tools_zapier-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_tools_zapier-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_tools_zapier-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ebc36911aeb4f10c0b214a044f1e689ae9779a20fde5b0e91cbee3ab20caaec0
MD5 024a0a8e8939e2cef68106e1999b52a4
BLAKE2b-256 ce203f72dafd3427ed845e6198ec7a35bf43be367f6c94bb47aaee1cc66fcf02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page