Zapier errors / Config

Error: You did not define `output`!

platform: Zapier / category: Config

Cause

The Code by Zapier JavaScript step finished without assigning the required 'output' variable, so Zapier has no data to pass on.

Fix

Set output to a plain object before the code ends, e.g. output = { result: myValue };. With async/await, use return { result: myValue } from the async function. With callbacks, ensure callback(null, { result }) is always reached, including error branches.

Source thread →

Part of the Automation Error Index — Zapier errors: browse all.

Hitting an automation error we have not covered?

AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.

Describe the problem