Skip to main content
Question

Custom GPT: Quickbase Formula Builder - Version of ChatGPT Optimized for Writing QuickBase Formulas

  • December 7, 2023
  • 0 replies
  • 530 views

[Link to Quickbase Formula Builder Custom GPT]

I've been using ChatGPT a lot this year, and have found it especially useful for writing simple code, typically in Python. I've attempted to use it for writing Quickbase formulas too, but it never got it quite right.

A couple months ago, OpenAI released the "Custom GPT" feature for ChatGPT. This allows people to create custom chatbots designed to perform specific tasks by providing instructions and reference information.

I had some free time at work, so I decided to attempt to make a Custom GPT that actually can write formulas for Quickbase. I provided some basic information on required syntax as well as a list of all of the built-functions.

The result actually seems to work pretty well!

I asked it to write a formula that calculates Sales Tax using a couple different rules, and this is what it wrote:

var number taxRate = Case([State], 
    "State1", 0.07,   // Replace "State1", "State2", etc., with actual state names and their respective tax rates
    "State2", 0.08, 
    // ... add more states and their rates here
    0); // Default tax rate if state is not listed

var number tax = If([Customer Type] = "General" or [Customer Type] = "Subsidized", 
    [Subtotal] * $taxRate, 
    0);

var number adjustedTax = If([Customer Type] = "Subsidized", 
    $tax / Sqrt(ToNumber([Customer Tenure])), 
    $tax);

$adjustedTax;



This is a work-in-progress, but I wanted to share what I made in case it is useful to anyone else.

[Link to Quickbase Formula Builder Custom GPT]

You do need a ChatGPT Plus subscription to use this, unfortunately. If you are already subscribed, I'd love you to give this a try and let me know how it works for you. If you aren't, keep in mind that this is a work-in-progress, so I don't recommend getting a subscription just for this tool.

When writing requests, it's helpful to do the following:

  • State the name of the field you are creating
  • Describe in plain English what you want the calculation to do
  • Mention the exact column names used on your table



------------------------------
Dylan Moring
------------------------------

Forum|alt.badge.img+11

Awesome

Did you do any training on the model for this?



------------------------------
Prashant Maheshwari
------------------------------

Forum|alt.badge.img

just some feedback after using. The GPT keeps using "isEmpty" in place of "inNull" when generating my requests. could be unique to me. will you be maintaining this GPT and retraining it?


Forum|alt.badge.img
  • Quickbase Alumni
  • January 28, 2026

I am typical very skeptical of AI/GPT but I had a formula someone else wrote that had gotten nested out of hand and was not working in a similar app and this tool wrote a much cleaner version that actually worked.  I appreciate you!


JimHarrison
Forum|alt.badge.img+16
  • Quickbase Alumni
  • January 28, 2026

Thanks for sharing. Great idea, looking forward to hearing about how it works over time. 

We compared the AI offerings on the market and went with Egnyte Chat for specific answers to a limited data set. So far we have created a folder structure that matches our realm structure. Then in each folder we place documentation specific to that App/process. There are controls in the Egnyte administration that allow us to limit the folders or scope of the final answers from the Chat. So far we have found that this returns the most consistent results. It is more work of course but it is also more professional.  

ChatGPT is really good as long as the prompt is precise about quickbase and formulas and nothing else. I've had it add VB Code or make up answers with confidence.

Loads of fun to play with for certain.


curevick
Forum|alt.badge.img+5
  • Quickbase Alumni
  • January 28, 2026

Super cool!