webex contact center · published

Author-written functions in Flow Designer

Verified 2026-09-05 · 13 sources · tier 2 · 1 disputed

Also known as Function activity, Function as a Service, Pebble Template.

Disputed: 1 source below carries conflicting evidence.

Flow Designer functions run author-written code in supported runtime environments 9. They allow supervisors and administrators to execute custom logic directly within flow execution 9​12.

Runtimes and execution

Flow Designer functions run author-written JavaScript on Node.js 22.x and Python 3.13, which are described as available in the first phase 9. Function code is written with language-specific static analysis, but the documentation never states what that analysis checks for 11.

The only sentence characterising the function execution environment names a packaging and invocation model rather than a network policy 3. Furthermore, no sentence in the functions documentation or its frequently asked questions uses the words network, internet, outbound, egress, sandbox, isolation, firewall, allow-list, or proxy 5. Regarding supported dependencies, the complete published statement on what code inside a function may use is that common native libraries are available and custom modules are not supported; the native libraries are never enumerated 4.

Configuration and lifecycle

Supervisors as well as administrators can manage functions, gated by a Function setting in the user profile that can be set to Edit, View, or None 12.

Publishing a function after editing its source code or settings updates the change immediately in every flow consuming those tagged versions, and the only stated safeguard is an instruction to be mindful 7. When debugging code, console logs are not exposed in the function test runner; a function can surface debug information only by setting and reading a custom output string array 2.

Published limits

Functions carry 6 published limits: 200 functions per organisation, 128 MB of memory per function, 5000 lines of code, 5 seconds of execution, 10 input variables, and 1 JSON output variable 8. However, sources disagree on the output variable capacity: one frequently asked question states that a function sets 1 JSON output variable and another states that multiple variables can be set from the code block 6.

The system limits article contains no occurrence of the word function anywhere in its text, tables, or headings, so it corroborates none of the published function limits 13. In addition, neither the Flow Designer article's self-loop table nor the system limits article's copy lists Function among the throttled activities, so no published ceiling caps how many times a function can be re-entered in one interaction 1. Across all 21 activities that are listed, the self-loop limit tables in the Flow Designer article and the system limits article agree on every value 10.

See also

Applicability

Applies to: Cisco Webex Contact Center. Sources checked 2026-09-05.

What remains uncertain

Whether function code can open a network connection is not covered by the sources below.

Which native libraries are available inside a function is not covered by the sources below.

What the language-specific static analysis checks is not covered by the sources below.

Whether an exported function JSON carries anything beyond source is not covered by the sources below.

See also

Part of

Related to

Sources

  1. 1
    Neither the Flow Designer article's self-loop table nor the system limits article's copy lists Function among the throttled activities, so no published ceiling caps how many times a function can be re-entered in one interaction.
    Build and manage flows with Flow Designer · System-enforced self-loop limits table, all 21 rows; the system limits article's Self-loop limits for Flow Designer activities table · Checked 2026-09-05
  2. 2
    Console logs are not exposed in the function test runner; a function can surface debug information only by setting and reading a custom output string array.
    Build and manage flows with Flow Designer · Create and manage functions, FAQ on testing code · Checked 2026-09-05
  3. 3
    The only sentence characterising the function execution environment names a packaging and invocation model rather than a network policy.
    Build and manage flows with Flow Designer · Create and manage functions, FAQ on how the function works · Checked 2026-09-05
  4. 4
    The complete published statement on what code inside a function may use is that common native libraries are available and custom modules are not supported; the native libraries are never enumerated.
    Build and manage flows with Flow Designer · Create and manage functions, FAQ on library limits · Checked 2026-09-05
  5. 5
    No sentence in the functions documentation or its frequently asked questions uses the words network, internet, outbound, egress, sandbox, isolation, firewall, allow-list or proxy.
    Build and manage flows with Flow Designer · Create and manage functions and its FAQ subsection, exhaustive keyword search of extracted text and raw body · Checked 2026-09-05
  6. 6
    One frequently asked question states that a function sets 1 JSON output variable and another states that multiple variables can be set from the code block.disputed
    Build and manage flows with Flow Designer · FAQ on input and output variables, against the FAQ on setting multiple variables · Checked 2026-09-05
  7. 7
    Publishing a function after editing its source code or settings updates the change immediately in every flow consuming those tagged versions, and the only stated safeguard is an instruction to be mindful.
    Build and manage flows with Flow Designer · Create a function, step 5, closing paragraph · Checked 2026-09-05
  8. 8
    Functions carry 6 published limits: 200 functions per organisation, 128 MB of memory per function, 5000 lines of code, 5 seconds of execution, 10 input variables and 1 JSON output variable.
    Build and manage flows with Flow Designer · Create and manage functions, Important considerations and FAQs · Checked 2026-09-05
  9. 9
    Flow Designer functions run author-written JavaScript on Node.js 22.x and Python 3.13, described as available in the first phase.
    Build and manage flows with Flow Designer · Create and manage functions, FAQ on supported languages · Checked 2026-09-05
  10. 10
    The self-loop limit tables in the Flow Designer article and the system limits article agree on every value across all 21 activities.
    System limits in Webex Contact Center · Self-loop limits for Flow Designer activities table, compared cell by cell against the Flow Designer copy · Checked 2026-09-05
  11. 11
    Function code is written with language-specific static analysis and the article never states what that analysis checks for.
    Build and manage flows with Flow Designer · Create and manage functions, capability bullet list · Checked 2026-09-05
  12. 12
    Supervisors as well as administrators can manage functions, gated by a Function setting in the user profile that can be set to Edit, View or None.
    Build and manage flows with Flow Designer · Create and manage functions, FAQ on who can manage functions · Checked 2026-09-05
  13. 13
    The system limits article contains no occurrence of the word function anywhere in its text, tables or headings, so it corroborates none of the published function limits.
    System limits in Webex Contact Center · Whole article, exhaustive search · Checked 2026-09-05

Documents

tier 2 current vendor documentation

Build and manage flows with Flow Designer

Cisco Systems, Inc. (Webex Help Center) · 2026-09-03 · accessed 2026-09-05

tier 2 current vendor documentation

System limits in Webex Contact Center

Cisco Systems, Inc. (Webex Help Center) · 2026-08-18 · accessed 2026-09-05

Cite this page

APA

WarmTransfer. (2026, September 5). Author-written functions in Flow Designer. WarmTransfer. https://warmtransfer.net/knowledge/wxcc-flow-functions

BibTeX

@misc{warmtransfer-wxcc-flow-functions,
  title  = {Author-written functions in Flow Designer},
  author = {{WarmTransfer}},
  year   = {2026},
  url    = {https://warmtransfer.net/knowledge/wxcc-flow-functions},
  note   = {Verified 2026-09-05}
}