Blog

Auto-Fill a Category Field from a Description with Quickbase AI Actions

Use the AI Actions Custom Action step in Quickbase Pipelines with a Multiple choice output to fill a Category field from a free-text Description, plus a backfill pipeline for existing records.

Fill a Category field from a messy Description with a Quickbase Custom Action step

A question on the Quickbase community asked something a lot of teams run into: you have a Description field that people fill in however they like, long, rambling, all over the place, and you want a short, consistent Category field filled in from it automatically. Could a language model read the Description and pick the category for you, inside Quickbase?

The original thread is here: Use AI to create a field based on another text field.

The short answer is yes, and since 2026 there's a clean, native way to do it. Pipelines has an AI Actions channel with a Custom Action step, and that step can return structured output, including a Multiple choice type that only ever returns one value from a list you define. Pair that with a multiple-choice Category field and you get categories that always match your list, instead of whatever free text the model feels like writing that day.

This guide walks through the whole build with a support ticket example, plus a second pipeline to backfill the records you already have.

A ticket table where the pipeline has filled in Category from each Description

What changed since the question was asked

When the thread started in late 2025, AI steps in Pipelines were still new and the replies were mostly "this should be possible." A few releases since then make it a solid, repeatable pattern:

  • AI Actions channel is generally available (April 1, 2026). The Custom Action step sends text and files to an AI model managed by Quickbase, follows your instructions, and returns free-form text or structured output you can use in later steps. It's part of the Quickbase Intelligence Package. Release note
  • Structured output with a Multiple choice type (February 12, 2026). You define the output properties and their types in a simple builder, and one of the types is Multiple choice, which returns one value from a predefined set. That's the piece that makes categorization reliable. The release note lists Business and Enterprise plans. Release note
  • Model upgrade (October 22, 2026). AI Actions moved to a newer model that handles more complex instructions, and older steps were switched over to it automatically on November 24. If your step has been around a while, re-test it. Release note
  • AI and Pipelines permissions are off by default for new trustees (September 16, 2026). A realm admin has to give you the Use AI and Build pipelines permissions on the Admin Console Permissions page. Release note

Before you start

Check these first so you don't get halfway through and hit a wall:

  1. Plan and package. AI Actions comes with the Quickbase Intelligence Package. To see exactly what your plan includes, go to Pipelines > Channels while signed in, which is where Quickbase's AI Actions help page points you.
  2. Permissions. Ask your realm admin to confirm you have Use AI and Build pipelines. Also, the Quickbase record triggers in Pipelines require app admin rights on the app.
  3. Billing. On the newer Pipelines plans, a Custom Action step run counts as a billable step run (Pipelines billing). A categorizing pipeline runs once per new or changed record, so estimate your volume.
  4. Daily limits. Each realm has daily caps on AI input tokens, output tokens, and step executions, plus a per-minute execution limit (the current numbers are on the AI Actions help page). The person who asked the original question actually hit a daily output token limit at one point. Categorizing is cheap per record because the answer is one short value, but a big backfill can still add up, so run it in batches.

The plan

Two pipelines:

  • Pipeline 1 categorizes every new ticket, and re-categorizes a ticket when its Description changes.
  • Pipeline 2 is a one-time (or occasional) backfill for existing tickets with a blank Category.

Diagram: ticket saved, trigger, Custom Action with Multiple choice output, Update Record, Category filled in; plus the backfill pipeline

Step 1: Set up the Category field

In your table (I'll call it Tickets), add or change these fields:

  • Category, field type Text - Multiple Choice, with these choices:
    • Billing
    • Technical issue
    • Account access
    • Feature request
    • Other
  • Needs review, a checkbox (optional, but I'd add it; more on this below).

A few rules for the category list that save you headaches later:

  • Keep categories short and clearly different from each other. "Billing" and "Invoices" will get mixed up. "Billing" and "Technical issue" won't.
  • Always include a catch-all like "Other" (or "Needs review"). If you don't give the model a safe place to put a vague ticket, it will force it into the closest real category.
  • Avoid commas inside a category name. In the Custom Action builder, the Multiple choice options are entered as a comma-separated list.
  • Spell the values exactly the same in the field and in the pipeline, including capitalization. The pipeline writes the text value straight into the field, so "Technical Issue" and "Technical issue" are not the same choice.

Step 2: Create the pipeline and trigger

  1. Go to Pipelines and create a new pipeline. Name it something like "Tickets - set Category".
  2. Add the Quickbase channel trigger On New Event, pick your app and the Tickets table, and select both the add and update events. (You could use Record Created instead if you only care about new tickets.)
  3. In the trigger's field list, make sure Record ID#, Description, and Needs review are included so later steps can use them.

Stop the pipeline from triggering itself

This is the step people skip. Your pipeline is going to update the ticket (writing Category), and an update is exactly what the trigger listens for. Without a guard, every run causes another run.

Add a condition right after the trigger so the rest only runs when the Description actually changed. Pipelines lets you compare a field to its previous value using $prev in Jinja, for example comparing {{a.description}} to {{a.$prev.description}} (your field's key name may differ slightly, so drag it in from the trigger output). On a brand-new record the previous value is empty, so new tickets pass the check too.

Also skip the record if Description is blank. There's nothing to categorize, and it's a wasted step run.

Step 3: Add the Custom Action step

Inside the condition, add a step from the AI Actions channel: Custom Action.

  1. Response format: choose Structured AI output. Quickbase recommends this as the default for AI Actions.
  2. Instructions: paste in instructions like the example below, and drag the Description field from the trigger into the spot where the ticket text goes.
  3. Output property: add one property:
    • Name: category (letters, numbers, and underscores only, no spaces)
    • Description: "The single best category for this ticket."
    • Type: Multiple choice, with options Billing, Technical issue, Account access, Feature request, Other

If you also want a simple confidence signal, add a second property, needs_review, type True/False, described as "True if the ticket is vague, covers several topics, or doesn't clearly fit one category." You'll use it in the next step.

Example instructions

This is the kind of prompt that works well for categorizing. Notice that it defines each category, because the model can't read your mind about where "I can't log in to pay my invoice" belongs.

You categorize customer support tickets.

Read the ticket description below and choose exactly one category:

- Billing: charges, refunds, invoices, plan or price questions.
- Technical issue: something in the product is broken, slow, or showing an error.
- Account access: logging in, passwords, locked accounts, user invites.
- Feature request: asking for something the product doesn't do yet.
- Other: anything that doesn't clearly fit the above, or a description
  too vague to tell.

Rules:
- Pick the category that matches the main problem the person needs solved.
- If the ticket mentions more than one topic, pick the one they're asking
  us to act on.
- If you're unsure, choose Other and set needs_review to true.

Ticket description:
{{Description from the trigger}}

Keep the instructions focused on this one job. Short, clear rules beat a long essay, and shorter responses help you stay inside the daily limits.

One thing worth knowing from Quickbase's help page: if the model recognizes personal information like names, emails, or phone numbers, it may skip it for security reasons. That rarely matters for picking a category, but don't build logic that depends on the model reading someone's contact details.

Step 4: Write the result back with Update Record

Add Quickbase > Update Record:

  1. Choose the same app and Tickets table.
  2. Set the record to update to the Record ID# from the trigger.
  3. Map Category to the category output from the Custom Action step.
  4. If you added needs_review, map Needs review to that output.

Turn the pipeline on and create a few test tickets with very different descriptions. Then open the pipeline's activity log and look at what went in and what came back for each run before you trust it.

Here's how the example tickets came out:

Submitted byDescription (shortened)Category
Sarah LeeCharged twice for November, invoice shows old planBilling
Mike ChenExport button spins and nothing downloadsTechnical issue
Priya PatelNew hire locked out after password resetAccount access
David RomeroShow last week next to this week on the dashboardFeature request
Emily Carter"Following up on our call yesterday, see notes."Other (Needs review checked)

Step 5: Backfill the records you already have

Pipeline 1 only handles tickets that are created or edited from now on. For the existing ones, build a second pipeline:

  1. Trigger: a manual or scheduled trigger, whichever you prefer for a one-off job.
  2. Quickbase > Search Records on Tickets, where Category is blank and Description is not blank. For the first run, limit it to a small batch, something like 25 records, so you can check the results.
  3. For each record the search returns:
    • AI Actions > Custom Action with the same instructions and the same output properties as Pipeline 1, using the Description from the search results.
    • Quickbase > Update Record using the Record ID# from the search results, mapping category (and needs_review) into the fields.
  4. Check the batch, adjust your instructions if needed, then run it again with a bigger limit until the search comes back empty.

Running in batches keeps you well under the per-minute and daily limits, and if your category definitions need work, you find out after 25 records instead of 5,000. Since Category is no longer blank once a record is done, re-running the pipeline just picks up where it left off.

Quickbase has a help article on the general pattern: Search records in Quickbase and iterate through the results.

Tips from setting this up

  • Spot-check for the first couple of weeks. Build a report of tickets grouped by Category and skim each group. Mistakes tend to cluster, and the fix is almost always a clearer definition in the instructions.
  • Use the Needs review checkbox as your safety valve. A report filtered to Needs review = checked gives someone a short daily list to correct by hand, instead of hoping every answer is right.
  • Protect manual corrections. Once a person fixes a Category, you don't want the pipeline to overwrite it. Because Pipeline 1 only runs when Description changes, a manual Category edit won't trigger it. If people also edit Descriptions a lot, add a "Category locked" checkbox and add it to the condition in Step 2.
  • Don't keep growing the list. If "Other" fills up with a pattern, that's a sign you need a new category. Add it to the field, the Multiple choice options, and the instructions at the same time, and backfill just the "Other" records.
  • Compare it with a formula first if your categories are simple. One reply in the thread suggested a formula with Contains() checks for keywords like "invoice" or "error." That's free and instant, and if your descriptions use predictable words, it may be enough. The AI route earns its keep when people describe the same problem in many different ways.

Wrapping up

The pattern is simple once you see it: a multiple-choice Category field, a pipeline that runs when Description changes, a Custom Action step whose output is a Multiple choice property with the same values, and an Update Record step to write it back. The Multiple choice output type is what turns "ask an AI to label this" into something you can actually report on, because every answer lands on a value you defined.

If you want to read more, Quickbase's AI Actions help page covers the step and its limits, and the release notes have the details on each change mentioned above.