Skip to main content
Add With AI turns a plain-language description into a set of functions. It takes two steps: describe what should happen, then choose what to generate.

Step 1: describe it

In the Add Logic dialog, select Add With AI and click Continue. The first step is titled Add Logic With AI and reads Step 1 of 2 · Describe It. The Describe It step with an empty What Should Happen box, the Improve button, the language options, and four suggestions from your data.
  1. Type what should happen in What Should Happen?. For example: “When an inspection fails, notify the owner, open a work order and update the risk score.”
  2. Optionally click Improve to refine your description.
  3. Choose a Language: Node.js, Python, Go, .NET, Java, or Let Archie Decide.
  4. Click Continue, or press ⌘ + Enter.

Suggestions from your data

Under Suggested from your data, Archie lists ready-made descriptions based on your data model. Each one shows how many functions it expects and how they relate, such as “3 functions · side by side” or “4 functions · one feeds 3”. Select one to fill in the description.

Step 2: choose what to generate

The second step is titled Step 2 of 2 · Choose What to Generate. Archie summarizes how it understood your request and shows what it plans to build. The Choose What to Generate step. The left column shows the description, Archie's summary, and open questions. The right column shows the service name, language, and one function with a checkbox.
  • Questions. When something is unclear, Archie asks. A question offers options, or a text box with an Answer button, and Archie marks its recommendation. Answer it, or click Skip.
  • Service. The service name Archie proposes, such as bug-resolution. Names are 3–40 characters: lowercase letters, numbers, and single hyphens, starting with a letter. You can edit it.
  • Language. The language Archie chose, or the one you picked. You can change it.
  • Functions. Each function has a checkbox and a short description. Clear the checkbox for any function you don’t want. Click Add Function to add one of your own.
The footer shows how many functions are selected. Click Edit Description to go back to step 1, or Cancel to close the dialog without creating anything. When you’re ready, click Generate, or press ⌘ + Enter.
Archie generates only the functions you leave selected. Nothing is created until you click Generate.

After you create the service

After Archie generates the functions, open the service. Review the code in the Code tab, then deploy it to make the functions callable. Set any environment variables the code needs before you deploy.

FAQ

Suggestions are built from your data model, so they reference the tables and fields in your project.
Not yet. Each project can have one service. See Logic.