← VoiceflowCONTENT HISTORY

Update to Voiceflow

Snapshot Nov 26, 2026 · 00:16 UTC · version 1.3.1

Collection source: downloaded plugin package.

WHAT CHANGED

First saved snapshot

No earlier snapshot is available to establish a change.

Save Voiceflow and check future changes in Following.

Up to 3 plugins free · no card required.

Compare saved observations

Download comparison JSON
Full technical diff · 0 changed fields
Full snapshot data
{
  "description": "Create or debug Voiceflow function code, sandbox behavior, fetch parsing, outputs, and exit paths. Use when logic cannot be handled by an existing integration or one API request.",
  "included_files": [
    {
      "relative_path": "LICENSE",
      "size_in_bytes": 1072
    },
    {
      "relative_path": "references/cli-commands.md",
      "size_in_bytes": 17918
    },
    {
      "relative_path": "references/cli-handoffs.md",
      "size_in_bytes": 8518
    },
    {
      "relative_path": "references/custom-traces.md",
      "size_in_bytes": 4188
    },
    {
      "relative_path": "references/documentation.md",
      "size_in_bytes": 8179
    },
    {
      "relative_path": "references/operations.md",
      "size_in_bytes": 7655
    },
    {
      "relative_path": "references/request-shapes.md",
      "size_in_bytes": 10461
    },
    {
      "relative_path": "references/sensitive-inputs.md",
      "size_in_bytes": 4105
    }
  ],
  "name": "voiceflow-functions",
  "skill_md_contents": "---\nname: voiceflow-functions\ndescription: Create or debug Voiceflow function code, sandbox behavior, fetch parsing, outputs, and exit paths. Use when logic cannot be handled by an existing integration or one API request.\nlicense: MIT\n---\n\n# Function code\n\nFor questions about sandbox APIs, fetch behavior, limits, traces, or function errors\nthat this skill does not answer, follow the\n[docs MCP workflow](references/documentation.md) before answering\nor implementing. For every new Voiceflow troubleshooting issue, consult it even\nwhen this skill suggests a fix. Leave `why` out when it is optional; otherwise\nsend only the package/skill/stage tag described there. Reuse guidance for the\nsame issue; consult it whenever unsure.\n\nRead the [operation contract](references/operations.md).\nPrefer an existing integration for a supported action, an API tool for one HTTP\nrequest, and a function for transformation, branching, or composed logic.\n\nFunctions run in Voiceflow's sandbox, not Node or a browser. Use\n`export default async function main(args)` and declared inputs from\n`args.inputVars`. Do not assume imports, require, process, Buffer, DOM, or\nbrowser URL utilities exist. `TextEncoder`, `TextDecoder`, `URLSearchParams`,\n`FormData`, `setTimeout`, and `setInterval` are not defined either. Beyond\nstandard JavaScript, the sandbox has the modified `fetch`, `delay(ms)`, which\nreturns a promise (`await delay(500)` waits half a second), and `btoa` and\n`atob` for base64, as in a browser.\n\nFor base64 in new code, call the built-in `btoa` and `atob` directly; they are\nalways defined, so never check for them first or hand-write an encoder.\n`btoa` takes one byte per character: it throws on a character above U+00FF and\nencodes `é` as Latin-1, not UTF-8. So use plain `btoa` only for ASCII, such as\na Basic auth header, and the UTF-8 form for text that may hold accents or\nemoji:\n\n```javascript\nconst authorization = 'Basic ' + btoa(`${user}:${pass}`);\nconst encoded = btoa(unescape(encodeURIComponent(text.toWellFormed())));\nconst decoded = decodeURIComponent(escape(atob(encoded)));\n```\n\n`toWellFormed()` turns half of a cut emoji into U+FFFD; without it,\n`encodeURIComponent` throws. When editing a function with its own base64\nhelper, keep one that only wraps the built-in or produces non-standard output,\nsuch as base64url. For a hand-written standard encoder, check its padding:\ninput of 3n+1 bytes must end in `==`, and 3n+2 bytes in `=`. If it is wrong,\nreplace it with the matching built-in form, and say so alongside the requested\nchange.\n\nVoiceflow's modified fetch exposes parsed response properties:\n`const data = (await fetch(url)).json`, not `response.json()`. Inspect the\ndocumented status and error shape; never log credentials or full customer\npayloads. Check current sandbox limits before large responses or custom traces.\nFor functions that show cards, carousels, or buttons, or end on a user's\nchoice, read [custom traces](references/custom-traces.md).\n\nReturn outputVars with names matching declared outputs and supported scalar\ntypes. Serialize structured data deliberately. Declare every path returned as\n`next: { path: 'success' }`; a missing/mismatched path can stop execution.\nReturn a defined result on every branch.\n\nCreating a function does not attach it to an agent. Declare inputs, outputs,\nand paths, then create the attachment with a WHAT + WHEN description. Read\nthe `voiceflow-wiring` skill for defaults and captured results.\n\nSecrets arrive through declared inputs bound to secret references on the\nattachment; never read `args.secrets`. For the binding and its failure modes,\nread [secrets](references/sensitive-inputs.md). Tests may call real services, so use\nfixtures first and only execute an integration with task authorization.\n\n## Check a function\n\nCheck your own function after each write, once the write's result is back, and\nbefore you say it works. Write the cases first: a normal case; each limit at one\nbelow, at, and one above (for \"at most 3 items\", send 2, 3 and 4); an empty\nvalue; a wrong type; and `\"0\"`, which is what an unset variable sends. Decide\nthe expected path and outputs for each case, then run\n`vf_function_execute` once per case and compare `output.path` and\n`output.outputVars` with them. Fix the code and check again. If cases still fail\nafter two rounds of fixes, stop and tell the user which ones fail and why: the\ncode or the expectation may be wrong.\n\nRun these checks only for self-contained code: no `fetch` or other outside\ncall, and literal input values only, because a `{NAME}` input value binds a\nstored secret. Code that calls an outside service runs only when the user asks\nfor that run; say in one line what the call will do first. Otherwise test it in\na draft conversation. When `success` is false, the result's `error` says why.\n\nSource: [Function tool](https://www.voiceflow.com/docs/documentation/build/tools/function-tool).\n"
}

SHA-256 of public snapshot: 31767abefb12291ca9d7726113ff5984138aff53f0e802bbb15f92056f403aaf