Skip to content
Release: Australia · Updated: 2026-07-09 · Official documentation · View source

Generate a data binding and formula

Automatically generate a data binding and formula using natural language with correct syntax.

Before you begin

  1. Install UI Generation application (28.1 – Zurich or later). For more information, see Install UI generation.
  2. Make sure that you have the ui_builder_admin role. For more information, see Grant UI Builder admin role.

  3. Navigate to All > Now Assist Admin > Creator and activate the Data Binding Generation skill.

  4. Select a large language model (LLM) provider.

Role required: ui_builder_admin

About this task

Learn to use Data Binding Generation in ServiceNow® UI Builder with Now Assist to automatically generate bindings and formulas. These bindings can be applied to any component property, such as labels, text, lists, or buttons, and can include logic, calculations, or data transformations.

Procedure

  1. Open UI Builder.

  2. Create an experience or open an existing one.

    For more information, see Create an experience for UI Builder.

  3. Create a page or open an existing one.

    For more information, see Create a page in UI Builder.

  4. Create a page variant or open an existing one.

    For more information, see Create a page variant.

  5. Open the Page Editor.

  6. Add a data resource or open an existing one.

    For more information, see Add and configure data resources to a page.

  7. From the Data Binding popover, select Get started.

Image omitted: ui-gen-data-binding-popover.png
A data binding panel in ServiceNow UI Builder, allowing users to generate and preview formulas or data outputs for page components using natural language prompts.
  1. You can enter your prompt using natural language or select one from the examples.

    Note: For example:

    • Instead of writing IF(@context.propers.bare,"bare page","not bare page"), you can enter If the page is bare, show 'bare page'; otherwise, show 'not bare page’.
    • Instead of LEN([1,2,3]), "), you can enter How many items are in this list?
Image omitted: ui-gen-data-binding-popover-prompt.png
A data binding panel in ServiceNow UI Builder, where users enter natural language prompts to generate formulas, preview results, and bind data to page components.
  1. Select the arrow to generate a binding or formula.

  2. Review the syntax and output.

  3. Select Accept and Edit.

Image omitted: ui-gen-data-binding-popover-accept.png
A data binding panel in UI Builder, where users create a formula for a welcome message, preview formula, and have options to accept, edit, or reject it.
  1. Apply or reject the binding.

    • If you’re happy with the output, select Apply.
    • If you’re unhappy with the output, select Reject and start over by entering a new prompt.
    • Preview and test the output.

Result

Data binding and formula are generated.

SymptomCauseResolution
Data binding generation returns incorrect syntaxThe prompt is ambiguous or uses terms not recognized as synonyms.Refine the prompt using more specific language. Refer to the Formula Operators table for supported synonyms. Try selecting an example from the Data Binding popover.

Parent Topic:Using UI generation

Related topics

Natural language synonyms for formula operators