WorkOS logo

Integrate WorkOS with your AI CRM

WorkOS provides enterprise identity and user management APIs for organizations, directory sync, connections, invitations, and users.

Explore Triggers and Actions

Create Organization

Create a WorkOS organization in the connected environment.

ActionTry it

Create Organization Membership

Grant an AuthKit user active membership in an organization. An existing inactive membership for the same user and organization is reactivated.

ActionTry it

Create User

Create a passwordless AuthKit user record in the connected WorkOS environment. This tool does not accept plaintext or hashed passwords.

ActionTry it

Delete Organization

Permanently delete a WorkOS organization. This cannot be undone and should only target a confirmed organization ID.

ActionTry it

Delete Organization Membership

Permanently remove an organization membership and its access. Prefer deactivation when access may need to be restored.

ActionTry it

Delete User

Permanently delete an AuthKit user. This cannot be undone and may remove the user's access.

ActionTry it

Get Connection

Get one WorkOS connection by ID.

ActionTry it

Get Directory

Get one WorkOS Directory Sync directory by ID.

ActionTry it

Get Directory Group

Get one WorkOS Directory Sync group by its exact group ID.

ActionTry it

Get Directory User

Get one WorkOS Directory Sync user by exact ID, including identity-provider attributes, roles, and any groups returned by WorkOS. For complete group memberships, use List Directory Groups filtered by this directory user ID.

ActionTry it

Get Invitation

Get WorkOS AuthKit invitation status and metadata by invitation ID without exposing acceptance credentials.

ActionTry it

Get Organization

Get one WorkOS organization by its WorkOS ID or external ID.

ActionTry it

Get Organization Membership

Get one WorkOS AuthKit organization membership by ID.

ActionTry it

Get User

Get one WorkOS AuthKit user by WorkOS ID or external ID.

ActionTry it

List Connections

List one page of WorkOS SSO and OAuth connections, optionally filtered by connection type, domain, organization, or name.

ActionTry it

List Directories

List one page of WorkOS Directory Sync directories, optionally filtered by organization, directory name, or domain.

ActionTry it

List Directory Groups

List one page of WorkOS Directory Sync groups for a directory, a directory user, or both.

ActionTry it

List Directory Users

List one page of WorkOS Directory Sync users for a directory or group, optionally filtering a directory by exact identity-provider ID or primary email. WorkOS limits this endpoint to 4 requests per second per directory; on HTTP 429, honor Retry-After before retrying.

ActionTry it

List Invitations

List one page of WorkOS AuthKit invitations by organization or exact recipient email without exposing acceptance credentials.

ActionTry it

List Organization Memberships

List one page of WorkOS AuthKit organization memberships for a specific organization or user, optionally including inactive or pending memberships.

ActionTry it

List Organizations

List one page of WorkOS organizations, optionally filtered by domain or organization name.

ActionTry it

List Users

List one page of WorkOS AuthKit users, optionally filtered by organization or exact email address.

ActionTry it

Resend Invitation

Send another real invitation email to the existing recipient of a pending WorkOS AuthKit invitation. This externally visible email delivery cannot be undone. The response excludes the invitation token and acceptance URL.

ActionTry it

Revoke Invitation

Revoke a pending AuthKit invitation so it can no longer be accepted.

ActionTry it

Send Invitation

Create an AuthKit invitation and immediately send a real invitation email to the recipient. This externally visible email delivery cannot be undone. Use only when the recipient and delivery are intentional. The output omits the sensitive acceptance token and acceptance URL.

ActionTry it

Set Organization Membership Status

Activate or deactivate a WorkOS organization membership without deleting it. Deactivation removes access but can be reversed by setting the status to active.

ActionTry it

Update Organization

Update selected properties of an existing WorkOS organization.

ActionTry it

Update Organization Membership Roles

Replace the role assignment on an existing WorkOS organization membership.

ActionTry it

Update User

Update selected profile fields on an AuthKit user without invoking email delivery flows.

ActionTry it

How the WorkOS integration works

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

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

Set up WorkOS in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

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

  3. 3

    Ask an agent to use WorkOS 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 WorkOS integration work with Dench?

The Dench WorkOS integration connects your AI CRM to WorkOS, so AI agents can work with your WorkOS 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 WorkOS via Dench?

The WorkOS integration currently exposes 29 actions, including Create Organization, Create Organization Membership, Create User, Delete Organization, Delete Organization Membership, and Delete User. Agents invoke them on your behalf from chat or from automations.

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

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

Is the WorkOS integration secure?

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

WorkOS | Dench AI CRM