Import packages in Zapier Functions
- Tables
-
Product updates
Product updates: January 2023 Product updates: March 2023 Product updates: February 2023 Product updates: April 2023 Product updates: May 2023 Product updates: June 2023 Product updates: July 2023 Product updates: August 2023 Product updates: September 2023 Product updates: October 2023 Product updates: November 2023 Product updates: December 2023 Product updates: January 2024 Product updates: February 2024 Product updates: March 2024 Product updates: April 2024 Product updates: May 2024 Product updates: June 2024 Product updates: July 2024 Product updates: August 2024 Product updates: September 2024 Product updates: October 2024 Product updates: November 2024 Product updates: December 2024 Product updates: January 2025 Product updates: February 2025 Product updates: March 2025 Product updates: April 2025 Product updates: May 2025 Product updates: June 2025 Product updates: July 2025 Product updates: August 2025
- Zaps
- Your Zapier account
- Interfaces
- Canvas
- Chatbots
- Getting started
- Agents
- MCP
- Built-in tools
- Lead Router
- Apps
Table of Contents
This product is in open beta. It’s available for use but still in active development and may change.
Packages are pre-built code libraries that you can use in your function to save time when writing function code. In Zapier Functions, you can use existing Python packages by importing them.
Import a package
To import a package, place the following line in your code file:
import <name of package>
You can then use the functions from that package in your code.
Update packages
When you import a package into your code, it automatically appears in the Packages menu. From there, you can edit the package to select a different version.
To edit a package version:
- From an existing function, click the Packages icon on the left sidebar.
- In the expanded left sidebar, click the three dot icon beside the package name. A dialog box will open.
- In the Version (optional) text field, enter the version number.
- Click Save.
Write your own Python functions
You can also write your own functions and save them in separate files to reuse in your main.py
file. Learn how to import files and their functions.
Provide feedback and get help
Submit a feature request, provide feedback on existing features, or get help from the Zapier Functions team. You can also discuss Functions with other users on Zapier's Early Access Program Slack.