Developer Tools

Add Rulebricks to your AI agent

Rulebricks is a decision automation platform for building, testing, publishing, and executing business rules and decision flows.

Things your agent can do in Rulebricks
59

Things your AI can do in Rulebricks

Your FormWise AI can handle any of these in Rulebricks — on its own, without you needing to click a button.

  • Bulk Submit Context Data

    Merge a non-empty batch into a Rulebricks context and execute ready bound rules or flows. External effects and partial writes may occur; retrying after an uncertain response can repeat effects. Returns per-instance outcomes.

  • Cascade Context Instance

    Re-evaluate registered pending rule and flow work for a Rulebricks context instance after dependencies may have become available. Flows may invoke external actions, and retrying an uncertain request can repeat their effects.

  • Count Decision Logs

    Count decision logs matching asset, status, trace, payload-content, or time-range filters without returning log payloads.

  • Create Asset Test

    Create a saved test case for a Rulebricks rule or flow with an input, expected response, comparison policy, and criticality.

  • Create Context

    Create a Rulebricks context with stored and derived fields, an identity fact, retention settings, and access controls.

  • Create Context Relationship

    Create a has-many, has-one, or belongs-to relationship from one Rulebricks context to another.

  • Create Folder

    Create a folder for rule, flow, or context assets; the asset type defaults to rule.

  • Create User

    Create a new user directly with a password, bypassing the email invitation flow. The user can immediately log in with the provided credentials. The provider-issued API key is omitted from the response.

  • Create User Group

    Create a new user group in your Rulebricks organization.

  • Delete Asset Test

    Permanently delete one saved test case from a Rulebricks rule or flow.

  • Delete Context

    Delete a Rulebricks context and all of its live instances, returning affected bindings and pending evaluations.

  • Delete Context Instance

    Permanently delete one Rulebricks context instance and its history, cancel its pending evaluations, and re-evaluate dependent context instances. Ready dependent rules or flows may execute; flows may invoke external actions.

Show 47 more things it can do
  • Delete Context Relationship

    Delete a specific relationship owned by a Rulebricks context.

  • Delete Flow

    Permanently delete one Rulebricks flow by ID.

  • Delete Folder

    Delete one folder by ID without deleting the assets it contains.

  • Delete Object

    Delete a workspace object by ID or exact name and archive, delete, or detach its generated values.

  • Delete Rule

    Permanently delete one Rulebricks rule by ID.

  • Delete Value

    Delete one vocabulary value by ID and replace references from other values with its content; rule or flow references and object-managed namespaces can block deletion.

  • Execute Assets in Parallel

    Execute multiple published Rulebricks rules or flows in parallel from one named map. Each entry is independent, so successful results are returned alongside reserved `$error` details for entries that fail. Flows may invoke external actions, and retrying an uncertain request can repeat their effects. A successful call uses the organization's monthly execution allowance for each entry.

  • Execute Bulk Rule

    Execute one published Rulebricks rule against up to 1000 ordered input objects and return one aligned result per input. A successful call uses the organization's monthly execution allowance for each input.

  • Execute Flow

    Execute a published Rulebricks flow once or in bulk and return the ordered flow-defined output and execution ID for querying its decision logs. A flow may invoke external actions, and retrying an uncertain request can repeat their effects. A successful execution uses the organization's monthly execution allowance.

  • Execute Rule

    Execute a published Rulebricks rule with its input payload and return the rule-defined decision output. A successful execution uses the organization's monthly execution allowance.

  • Export Flow

    Export one flow as a Rulebricks Flow Schema document that can be round-tripped through the flow import endpoint. Provide flow_id or flow_slug; at least one is required, and the provider accepts both together.

  • Export Asset Manifest

    Export selected Rulebricks rules, flows, contexts, or values with their resolved dependencies, or preview the export. Provide at least one of root_ids, root_collection, root_collections, or all_values=true for value catalogs; selectors may be combined.

  • Export Rule

    Export one rule by ID as a raw rule document that can be round-tripped through the Rulebricks rule import endpoint.

  • Get Context

    Retrieve a Rulebricks context by ID, including its schema, bindings, access controls, and relationships.

  • Get Context Instance

    Retrieve the current base facts, derived facts, status, and selected execution or relationship data for one Rulebricks context instance.

  • Get Context Instance History

    Retrieve newest-first historical values for all fields or one selected field on a Rulebricks context instance.

  • Get Object

    Fetch one workspace object (JSON Schema) by its ID or exact name.

  • Get Usage

    Return the organization's current plan and monthly Rulebricks execution usage, limit, and remaining allowance.

  • Import Flow

    Create or update a flow from a Rulebricks Flow Schema document; imported flows publish by default unless publish (provider field _publish) is false.

  • Import Asset Manifest

    Atomically create or update rules, flows, contexts, and values from a Rulebricks manifest. Override updates conflicts in place while preserving prior versions, release pins, context records, IDs, folders, and access groups. Use PREVIEW_IMPORT_MANIFEST to inspect the write-free plan first.

  • Import Rule

    Create a rule from a complete raw rule document, or partially update an existing rule when the document includes its ID.

  • Invite User

    Invite a new user to the organization or update role or user group data for an existing user.

  • List Asset Tests

    List saved test cases for a Rulebricks rule or flow, including expected responses and latest execution state.

  • List Context Relationships

    List incoming and outgoing relationships configured for a Rulebricks context.

  • List Contexts

    List contexts visible to the connected API key, optionally filtered or paginated by the provider's opaque cursor.

  • List Flows

    List flows visible to the connected API key, optionally selecting an exact asset version or filtering by identifier, search, folder, labels, group, or name.

  • List Folders

    List asset folders visible to the connected API key, optionally filtered by user group or name.

  • List Objects

    List workspace objects (JSON Schemas) visible to the connected API key's user groups.

  • List Pending Context Evaluations

    List rule and flow evaluations registered as pending for one Rulebricks context instance, including their missing dependencies.

  • List Rules

    List rules visible to the connected API key, optionally selecting an exact asset version or filtering by identifier, search, folder, labels, group, or name.

  • List User Groups

    List all user groups available in your Rulebricks organization.

  • List Users

    List all users (including the admin and all team members) in the organization with their email, name, role, user groups, and join date. Provider-issued API keys are omitted from the response.

  • List Values

    Return one page of vocabulary values visible to the connected API key, with optional name, prefix, type, group, and usage filters.

  • Preview Asset Manifest Import

    Return the server-authoritative plan for importing Rulebricks rules, flows, contexts, and values without writing any assets.

  • Preview Value Collection Sync

    Preview the created, updated, unchanged, archived, and deleted values for one complete single-request collection synchronization without writing changes.

  • Preview Object Upsert

    Validate and preview creating or updating a workspace object and synchronizing its JSON Schema enum values without writing any changes.

  • Query Decision Logs

    Return one page of decision logs filtered by assets, status, trace, payload content, or time range. Check limited even when no next cursor is returned; a limited page does not cover all matching history.

  • Replace Value Metadata

    Replace or clear all custom metadata for one vocabulary value by ID without resending its value payload. The API key must have edit-values permission.

  • Run Asset Tests

    Run all saved tests, or only critical tests, against the latest draft of a Rulebricks rule or flow and return pass totals and failure diagnostics. Version targeting is not supported.

  • Solve Context Asset

    Persist optional facts and execute one rule or flow bound to a Rulebricks context instance, or register it pending when dependencies are missing. Flows may cause external effects; retrying an uncertain outcome can repeat them.

  • Submit Context Data

    Merge facts into one Rulebricks context instance. This may immediately execute bound rules or flows and cause their external effects; returns the resolved state and triggered evaluations.

  • Sync Value Collection

    Synchronize one vocabulary collection to a desired set. Chunks commit independently and must run sequentially under one fresh sync_id; finalize only after every chunk succeeds and do not overlap collection pipelines. Completion archives or deletes omitted members. This action always writes.

  • Update Context

    Update a Rulebricks context's name, schema, identity, retention, execution behavior, folder, or access groups. Changing identity_fact on a context with live instances changes how future writes resolve them.

  • Update Folder

    Update an existing folder's required name and optional description by ID without changing its asset type.

  • Upload Manifest Part

    Upload one plain UTF-8 or gzip-compressed part of a Rulebricks manifest larger than 4 MiB. Reuse one upload_id, send parts in zero-based order, then pass that ID and the total part count as manifest_upload to IMPORT_MANIFEST. Parts expire after 24 hours.

  • Upsert Object

    Create a workspace object by name or update one by ID or name, then synchronize values generated from its JSON Schema enums. Generated values removed from the submitted schema are archived. This action always writes.

  • Create or Update Values

    Create new vocabulary values or update existing values by name, including nested values and per-value metadata.

Built for the way you actually work

No code, no engineers

Connect in a few clicks and start using your AI right away. If you can use the apps you already love, you can do this.

Sounds like you, not like a bot

Train your AI on your offer, your voice, and the way you actually talk to clients — it picks up where you leave off.

Plugs into the stack you already use

No need to rip out your CRM, your scheduler, or your email tool. Your AI works inside the apps running your business today.

Your data stays yours

Client conversations, lists, and credentials are scoped to your workspace. Nothing gets shared, sold, or used to train anyone else’s AI.

What you can do once Rulebricks is connected

Onboard new clients without lifting a finger

When someone signs up, your AI greets them, sets up their next step in Rulebricks, and keeps the momentum going — even at 2am.

Reply to leads in seconds, not days

Your AI watches Rulebricks for new inquiries, answers questions in your voice, and books the call before they cool off.

Get your weekends back

Hand off the repetitive Rulebricks work — follow-ups, reminders, updates, simple admin — and stop being the bottleneck in your own business.

How to connect Rulebricks to your agent

  1. 1

    Start using FormWise for free

    Sign up in under a minute.

  2. 2

    Find Rulebricks in your connected apps

    Inside FormWise, open Connectors and look for Rulebricks.

  3. 3

    Hit "Connect"

    Click "Connect Rulebricks" and log in like you normally would. We only ask for the permissions your AI actually needs.

  4. 4

    Tell your AI what to do in Rulebricks

    Build a quick AI Agent (it's like writing instructions, not code), and pick the Rulebricks actions you want your AI to handle.

  5. 5

    Watch it run

    Send it a real-world task and watch your AI take care of Rulebricks for you. Tweak the wording until it feels just right.

Powered by the AI you already trust

Your Rulebricks workflow runs on the same world-class AI used by ChatGPT, Claude, and Gemini. We handle the technical part — you just tell your AI what to do, in plain English.

  • OpenAI
  • Anthropic Claude
  • Google Gemini

Questions other Rulebricks users had before signing up

Do I need to know how to code?

Not even a little. If you can use Rulebricks today, you can set this up. You'll connect Rulebricks, tell your AI what it should help with, and you're live. The whole thing is built for coaches, course creators, agencies, and operators — not engineers.

Will my clients know they're talking to an AI?

Only if you want them to. Your FormWise AI is trained on your voice, your offer, and the way you actually communicate — so it sounds like a thoughtful team member, not a clunky chatbot. Most people can't tell.

Can I make it sound like me?

Yes. You can give your AI examples of how you write, the questions you usually ask new clients, the way you handle objections, and the language you use about your offer. The more you give it, the more it sounds like you wrote it.

What if I want to take over a conversation?

You're always in control. You can step in at any point, take over from your AI, or stop it from sending messages until you've reviewed them. Think of it as a teammate, not a replacement.

Is my client data safe?

Yes. Your Rulebricks login and client information stay scoped to your workspace. We don't sell it, we don't share it, and we don't use your data to train anyone else's AI. You can disconnect Rulebricks or delete everything any time.

What happens when Rulebricks updates their app?

We handle it. When Rulebricks adds new features or changes how something works, we update the integration in the background. You don't have to do anything — your AI just keeps working.

How fast can I actually get this running?

Most people are up and running the same day they sign up. Connecting Rulebricks takes a few minutes. Teaching your AI to handle the work the way you'd want it done is the part worth slowing down for.

What is FormWise?

FormWise is the AI agent builder for coaches, course creators, and agencies. You connect the apps you already use — like Rulebricks — train your AI on your offer and voice, and let it handle the work you've been doing manually: onboarding, follow-ups, support, admin. No code, no developers, no engineering team required.

Can I sell AI agents to my clients?

Yes. A lot of FormWise users build AI assistants and sell them as part of their offer — done-for-you AI setups, white-label assistants for client businesses, custom GPTs trained on a client's brand. You can charge a setup fee, a monthly retainer, or both.

Can I embed my AI on my website or in my course?

Yes. Every AI you build in FormWise can be embedded on your site, dropped into your course platform, or shared as a standalone link. Your clients and students just open it like any other web page — no app to download, no login hoops.

Do I need to know anything about AI to use this?

No. If you can describe what you want your AI to do in plain English — "greet new clients, ask these 3 questions, book them a call" — FormWise can build it. We handle the models, the prompts, the connections. You handle the part you already know: what your business actually needs.

About Rulebricks on FormWise

Rulebricks is a decision automation platform for building, testing, publishing, and executing business rules and decision flows.

Connect Rulebricks once and your FormWise AI gets 59 things it can do inside it. That means your AI can handle the Rulebricks work in your business — the messages, the updates, the follow-ups, the admin — the way you would, just faster and around the clock.

You don't need to know how any of it works under the hood. We take care of keeping the connection alive, retrying if something fails, and making sure your data only ever moves where you tell it to.

New to Rulebricks? Take a look at rulebricks.com.

Stop doing the Rulebricks work yourself

Hand it off to an AI assistant that sounds like you, works around the clock, and never forgets a follow-up. Free to start.