Building your app's backend with Rad Bot

Available in self-service apps

See what your app's backend is made of, the order Rad Bot builds it in, how its cards and token allowance work, and which page covers each part.

Use Rad Bot to build your app's backend one step at a time. An app is a module that holds record types, workflows, roles, functions, custom actions, automations, chatbots and a website. Rad Bot builds each as cards you apply, inside a module you have checked out. Nothing happens until you press Apply.

Ordinary record types, workflows and roles work as they do in any RAD Platform workspace. See Records, record types and fields, Roles and permissions and What a module is.

Where each part is explained

To do thisRead
Compute something, read and write records, test itWriting and testing functions
Add a button that runs a functionCustom actions: buttons that run a function
Run a function when records change, or as a workflow stepRunning a function when records change
Draw images, write PDFs, long background workFunctions that draw images, write PDFs or run long
Decide what end users and visitors may doWhat end users and visitors may do and Letting visitors submit forms and see lists
Answer Support requests with an assistantThe support agent for Support requests
Build the public websiteBuilding your app's website with Rad Bot
Know what is chargedSubscribing, charges and cancelling

The usual order

  1. Check out the module.
  2. Build the record types, with their public settings and actions.
  3. Build the function and its tests.
  4. Set the End user permissions.
  5. Build the website.
  6. When everything works, check the module in on its screen and move it to the live app.

You can apply the cards one by one or all at once.

Rad Bot works on the sandbox only. The live app takes changes only when you move them from the sandbox, so Rad Bot offers nothing there and only points you to the buttons. See Your app's sandbox and live environments.

How Rad Bot works on an app

  • It reads the workspace with the permissions of the person asking.
  • Record changes. It can offer to create or change one record per card, with the old and new values. This is on by default on an app and can be switched in Settings under "Rad Bot (AI assistant)". It never moves a workflow record through its states by card, and never touches platform records.
  • Allowance. On an app, Rad Bot is measured in tokens, not messages. When a question needs more than the smaller model used for plain questions can do, Rad Bot switches to the stronger model for the rest of the chat. What is charged is explained in Subscribing, charges and cancelling. See also Rad Bot in your workspace.

What does not move to the live app

Records, secrets, connections, provider keys and end users do not travel with a module. Set them up on the live app by hand.

How your app's screens read and write records

Your app's own screens and website read and write records of your record types through the app's API, signed in as an end user. What a person may do is set by the End user role's permissions for each record type. See What end users and visitors may do.