Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Built-in tools
  • Functions
  • Create a function

Create trigger events for your functions

Written by Owner

Updated at August 20th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Tables
    Work with tables Manage tables Create tables Troubleshoot Zapier 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
    Zap basics Zap history Troubleshoot Zaps Manage your Zaps Do more with Zaps
  • Your Zapier account
    Plans Billing Account profile Notifications Data privacy & security Get help User roles and permissions
  • Interfaces
    Troubleshoot Zapier Interfaces Create an interface Use interface components Manage interfaces
  • Canvas
    Create a canvas Collaborate on a canvas
  • Chatbots
    Add logic and knowledge to chatbots Troubleshoot chatbots Create chatbots Manage chatbots
  • Getting started
    Intro to Zapier Set up your Zapier account Use case templates
  • Agents
    Create agents Manage agents Troubleshoot agents
  • MCP
    Set up MCP
  • Built-in tools
    Filter & Paths Formatter Schedule & Delay Email, IMAP, SMTP, & Email Parser Webhooks & Code Storage, Digest, & RSS Sub-Zap & Looping Other built-in tools Custom Actions & API Requests Functions AI by Zapier & AI actions Copilot Human in the Loop
  • Lead Router
    Create routers
  • Apps
    Connect and manage your app connections AI apps on Zapier Apps on Zapier
+ More

Table of Contents

Create a trigger Create a new connection Create a custom JSON sample Reference trigger outputs on code files Provide feedback and get help
miscBoltAlt icon Beta

This product is in open beta. It’s available for use but still in active development and may change.

With Zapier Functions, you can create multiple triggers that will provide output for your function. A trigger is an event that starts your workflow and causes the function to run. You can reference the trigger fields in your code files.

 

Create a trigger

To create a new trigger in your function:

  1. On the left sidebar, click the Explorer icon . This will open the sidebar.
  2. Click the plus sign next to Triggers. This will create a new trigger file.
  3. Within the trigger editor, start typing the name of the app you want to use and select it.
    • Use the Tab key to move between fields.
  4. Select the name of the trigger event in the next field. 
  5. In the account_id field, select an existing app connection from your Zapier account. You can also connect a new app account.
  6. The file will be populated with any available parameters. Fill out all required parameters.
  7. Once all fields are set, the right sidebar will display the sample data.
  8. To retrieve a new sample from your trigger app, click Fetch again in the right sidebar. 

Repeat the process to add multiple triggers for your function. Once a trigger is set up, you can reference its outputs within the main.py file or any other code files you create. Learn how to reference trigger data in code files.

ratingStar icon Tip
  • You can use the field trigger_name to reference the trigger that caused your function to run. 
  • You can rename or delete your trigger by clicking the three-dot icon beside its name.

 

 

 

 

 

Create a new connection

Any app connections you have in your Zapier account will be available in Functions. You can also create new connections. To add a new connection:

  1. Click the account_id field.
  2. Select Connect Account. A new tab or window will open.
  3. In the upper right, click Add connection.
  4. Search for and select the app you want to connect. A new browser tab or window will open. 
  5. Follow the instructions to connect your app account.
  6. Once you complete the setup, return to the Functions window or tab.
  7. Click the account_id field and select your new connection.

 

Create a custom JSON sample

Once your triggers are set up, you can reference their output in your code files. If you cannot find a sample that matches your needs, you can create your own JSON sample. 

  1. In the right sidebar, click the Selected Trigger dropdown menu.
  2. Select Custom JSON.
  3. Enter the valid JSON you want to use as a sample.

     

Reference trigger outputs on code files

Once your triggers are set up, you can use their output fields in your code files. 

 

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.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Create a workflow using Python with Functions
  • Write code in Zapier Functions
  • Import packages in Zapier Functions
  • Use secrets in Zapier Functions
  • Error handling in Zapier Functions

Copyright 2025 – OBZ-Zapier.

Knowledge Base Software powered by Helpjuice

Expand