Rulebricks logo

Integrate Rulebricks with your AI CRM

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

Explore Triggers and Actions

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.

ActionTry it

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.

ActionTry it

Count Decision Logs

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

ActionTry it

Create Asset Test

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

ActionTry it

Create Context

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

ActionTry it

Create Context Relationship

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

ActionTry it

Create Folder

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

ActionTry it

Create or Update Values

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

ActionTry it

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.

ActionTry it

Create User Group

Create a new user group in your Rulebricks organization.

ActionTry it

Delete Asset Test

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

ActionTry it

Delete Context

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

ActionTry it

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.

ActionTry it

Delete Context Relationship

Delete a specific relationship owned by a Rulebricks context.

ActionTry it

Delete Flow

Permanently delete one Rulebricks flow by ID.

ActionTry it

Delete Folder

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

ActionTry it

Delete Object

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

ActionTry it

Delete Rule

Permanently delete one Rulebricks rule by ID.

ActionTry it

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

Export Rule

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

ActionTry it

Get Context

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

ActionTry it

Get Context Instance

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

ActionTry it

Get Context Instance History

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

ActionTry it

Get Object

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

ActionTry it

Get Usage

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

ActionTry it

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.

ActionTry it

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.

ActionTry it

Import Rule

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

ActionTry it

Invite User

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

ActionTry it

List Asset Tests

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

ActionTry it

List Context Relationships

List incoming and outgoing relationships configured for a Rulebricks context.

ActionTry it

List Contexts

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

ActionTry it

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.

ActionTry it

List Folders

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

ActionTry it

List Objects

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

ActionTry it

List Pending Context Evaluations

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

ActionTry it

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.

ActionTry it

List User Groups

List all user groups available in your Rulebricks organization.

ActionTry it

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.

ActionTry it

List Values

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

ActionTry it

Preview Asset Manifest Import

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

ActionTry it

Preview Object Upsert

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

ActionTry it

Preview Value Collection Sync

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

ActionTry it

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

Update Folder

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

ActionTry it

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.

ActionTry it

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.

ActionTry it

How the Rulebricks integration works

The Rulebricks integration connects your Dench AI CRM directly to Rulebricks, so agents can read and act on your Rulebricks data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

59 actions are available for agents to invoke on your behalf. Every call runs through Rulebricks's own authorization, scoped to the account you connect.

Set up Rulebricks in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find Rulebricks and click Connect — you'll authorize access through Rulebricks's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use Rulebricks in chat, or call it from an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the Rulebricks integration work with Dench?

The Dench Rulebricks integration connects your AI CRM to Rulebricks, so AI agents can work with your Rulebricks data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with Rulebricks via Dench?

The Rulebricks integration currently exposes 59 actions, including Bulk Submit Context Data, Cascade Context Instance, Count Decision Logs, Create Asset Test, Create Context, and Create Context Relationship. Agents invoke them on your behalf from chat or from automations.

Do I need to write code to connect Rulebricks to Dench?

No. You connect Rulebricks from your Dench workspace using Rulebricks's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the Rulebricks integration secure?

Connections are authorized through Rulebricks's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the Rulebricks connection from your workspace settings at any time.