Copy your function to use with an LLM

Zapier Functions lets you copy your function with a ready-made prompt that you can provide to an LLM (large language model) such as ChatGPT to help you write code for your function

Beta

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

Copy your function

  1. From the Functions home, select your function.
  2. Click the Resources icon on the left sidebar.
  3. From the expanded sidebar, click </> Copy Function for LLM. The prompt and the function will be copied to your clipboard.
  4. Paste the content of the clipboard into your LLM.

Code snippet containing instructions for LLM and the function main.py code

Structure of the copied function

The copied function contains the following:

  • Prompt: instructions that the LLM will use to review and interact with your code.
  • Function code: the full code of your function as it appears in Zapier Functions.
  • Trigger sample: a snippet of JSON containing the selected trigger sample. 
Tip

You can change the trigger sample copied by selecting a different trigger sample.

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?
0 out of 0 found this helpful