OpenAI logo

Integrate OpenAI with your AI CRM

Toolkit for OpenAI APIs: manage Assistants, Threads/Messages; upload/list/delete Files; list/retrieve Models (including vision/multimodal); and view fine-tune listings and events.

Explore Triggers and Actions

Add Upload Part

Tool to add a part (chunk of bytes) to an Upload object. Use when uploading large files in chunks, with each part up to 64 MB.

ActionTry it

Cancel batch

Tool to cancel an in-progress batch. Use when you need to stop a batch that is currently processing. The batch will be in status 'cancelling' for up to 10 minutes before changing to 'cancelled', where partial results (if any) will be available.

ActionTry it

Cancel evaluation run

Tool to cancel an ongoing evaluation run. Use when you need to stop an evaluation run that is currently in progress.

ActionTry it

Cancel Response

Tool to cancel a background model response by its ID. Use when you need to stop a response that was created with the 'background' parameter set to true. Only background responses can be cancelled; attempting to cancel a non-background response will fail.

ActionTry it

Cancel Run

Request cancellation of an in-progress assistant run by thread and run ID, for example when the run is no longer needed. DEPRECATED: The Assistants API shut down on August 26, 2026; migrate to the Responses and Conversations APIs.

ActionTry it

Cancel upload

Tool to cancel an upload. Use when you need to stop an upload that is in progress. No parts may be added after cancellation.

ActionTry it

Compact Response

Tool to compact a conversation or response to reduce token usage. Use when you need to reduce the size of long conversations while preserving important context. Either provide an array of input messages or reference a previous response ID to compact.

ActionTry it

Complete Upload

Complete a multipart Upload and create its usable File object.

ActionTry it

Create Audio Transcription

Transcribes audio files to text via the OpenAI Audio Transcriptions API, optionally returning timestamps.

ActionTry it

Create Audio Translation

Tool to translate audio files to English text via OpenAI Audio Translations API. Use when you need to convert speech in audio files (any language) to English text.

ActionTry it

Create Batch

Tool to create and execute a batch from an uploaded file of requests. Use after uploading a JSONL file with purpose 'batch' to process multiple API requests in a single batch operation.

ActionTry it

Create Chat Completion

Creates a chat completion from OpenAI models for conversational AI, text generation, function calling, vision or audio tasks, and structured JSON outputs. Supports reasoning models and tool use.

ActionTry it

Create Completion (Legacy)

Generate single-turn text completions using OpenAI's legacy Completions API with an available compatible model.

ActionTry it

Create Container

Tool to create a new container with configurable memory, expiration, file access, and network policies. Use when you need to provision an isolated execution environment.

ActionTry it

Create Container File

Tool to create a file in a container. Use when adding files to an existing container either by referencing an uploaded file ID or by uploading raw file content directly.

ActionTry it

Create Conversation

Tool to create a new conversation for multi-turn interactions. Use when initializing a persistent conversation with optional starter messages.

ActionTry it

Create Conversation Items

Tool to create items in a conversation with the given ID. Use when adding messages or other items to an existing conversation.

ActionTry it

Create Decision

Evaluate evidence with typed predicate, choice, and score questions. Each call costs at most $2.

ActionTry it

Create Embeddings

Tool to generate text embeddings via the OpenAI embeddings endpoint. Use for search, clustering, recommendations, and vector database storage workflows.

ActionTry it

Create Eval

Tool to create an evaluation structure for testing a model's performance. An evaluation is a set of testing criteria and data source config that dictates the schema of data used in the evaluation. Use when setting up automated testing for model outputs with graders like label_model, string_check, or text_similarity.

ActionTry it

Create Evaluation Run

Creates an evaluation run for testing with a specified data source and model configuration. OpenAI has scheduled existing evals to become read-only on October 31, 2026, and the Evals API to shut down on November 30, 2026.

ActionTry it

Create fine-tuning job

Creates a fine-tuning job from an uploaded training dataset and returns job details and status. Creation is restricted to eligible existing customers; OpenAI says active existing customers will no longer be able to create new jobs starting January 6, 2027.

ActionTry it

Create Image Variation

Create alternative versions of an existing square PNG image using the legacy image variations operation, with options for count, size, and response format. DEPRECATED: Its documented model, DALL-E 2, shut down on May 12, 2026; OpenAI recommends GPT Image models as replacements.

ActionTry it

Create Message

Create a message in an Assistants conversation thread. This adds the message without triggering a model response; a separate run was needed for an assistant reply. DEPRECATED: The Assistants API was shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

Create Moderation

Tool to classify text and/or image inputs for potentially harmful content via the OpenAI Moderation API. Use for content safety checks, filtering user-generated content, or monitoring for policy violations across 13 harm categories including harassment, hate, violence, sexual content, self-harm, and illicit activities.

ActionTry it

Create Realtime Call

Creates a Realtime API call over WebRTC and returns the SDP answer needed to complete the peer connection. A call ID is returned when it can be extracted from the Location header.

ActionTry it

Create Realtime Client Secret

Tool to create an ephemeral client secret for authenticating Realtime API connections. Use when you need to establish a WebSocket connection to OpenAI's Realtime API for voice or streaming interactions.

ActionTry it

Create Realtime Session

Tool to create an ephemeral API token for client-side Realtime API applications. Use when setting up browser-based real-time audio/text interactions.

ActionTry it

Create Realtime Transcription Session

Tool to create an ephemeral API token for realtime transcriptions via the Realtime API. Use when you need to authenticate browser clients for realtime audio transcription sessions. Returns a session object with a client_secret containing a usable ephemeral API token.

ActionTry it

Create Response

Creates a model response via the Responses API for text or image analysis and structured JSON output. Returns selected response fields including the ID and output array; aggregated output text may be absent.

ActionTry it

Create Run

Create an assistant run on an existing thread to execute the assistant and generate responses, optionally adding messages and setting run options. DEPRECATED: The Assistants API shut down on August 26, 2026; migrate to the Responses and Conversations APIs.

ActionTry it

Create Skill

Tool to create a skill from uploaded files. Use when you need to create a new skill with SKILL.md and supporting files.

ActionTry it

Create Speech (TTS)

Tool to generate text-to-speech audio using OpenAI's Audio API. Use when you need to convert text to natural-sounding speech with a choice of voices and models. Returns a hosted audio file URL with metadata, not raw bytes.

ActionTry it

Create Thread

Create an Assistants API conversation thread with optional starter messages and metadata. The thread ID identifies the conversation for subsequent operations. DEPRECATED: The Assistants API was shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

Create Thread And Run

Create an Assistants thread and run in one request to start a conversation and execute an assistant. DEPRECATED: The Assistants API shut down on August 26, 2026; migrate to the Responses and Conversations APIs.

ActionTry it

Create Upload

Tool to create an intermediate Upload object for large file uploads. Use when uploading files larger than the direct upload limit by adding Parts to the Upload. The Upload accepts up to 8 GB total and expires after one hour if not completed.

ActionTry it

Create Vector Store

Tool to create a new vector store. Use when you need to create a collection of processed files for file_search tools.

ActionTry it

Create Vector Store File

Tool to create a vector store file by attaching a File to a vector store. Use when you need to add files to a vector store for file search capabilities.

ActionTry it

Create vector store file batch

Tool to create a vector store file batch. Use when attaching multiple files to a vector store for file search capabilities.

ActionTry it

Create Video

Create an asynchronous video generation job from a text prompt using the OpenAI Videos API; the job ID and status were used to track generation. DEPRECATED: The Videos API was shut down on September 24, 2026.

ActionTry it

Create Video Remix

Submit a remix job for an existing generated video using a new prompt. OpenAI's Videos API was shut down on September 24, 2026.

ActionTry it

Delete assistant

Delete a specific Assistants API assistant by ID. DEPRECATED: The Assistants API shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

Delete chat completion

Tool to delete a stored chat completion by its ID. Use when you need to remove a chat completion that was created with store=true.

ActionTry it

Delete container

Tool to delete a specific container by its ID. Use when you need to remove a container after confirming its ID.

ActionTry it

Delete container file

Tool to delete a file from a container. Use when you need to remove a file from a specific container by providing both container ID and file ID.

ActionTry it

Delete conversation

Tool to delete a conversation by its ID. Items in the conversation will not be deleted. Use when you need to remove a conversation.

ActionTry it

Delete conversation item

Tool to delete an item from a conversation with the given IDs. Use when you need to remove a specific message or item from a conversation.

ActionTry it

Delete evaluation

Tool to delete a specific evaluation by its ID. Use when you need to remove an evaluation after confirming its ID.

ActionTry it

Delete evaluation run

Deletes a specific evaluation run. OpenAI has scheduled existing evals to become read-only on October 31, 2026, and the Evals API to shut down on November 30, 2026.

ActionTry it

Delete file

Deletes a file by its ID. Confirm the target before deleting it; removing unneeded files can help manage storage quotas.

ActionTry it

Delete message

Delete a specific message from an Assistants conversation thread using the thread and message IDs. DEPRECATED: The Assistants API was shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

Delete response

Tool to delete a model response with the given ID. Use when you need to remove a stored response from the Responses API.

ActionTry it

Delete skill

Tool to delete a specific skill by its ID. Use when you need to remove a skill after confirming its ID.

ActionTry it

Delete thread

Delete an Assistants API conversation thread by its ID. DEPRECATED: The Assistants API was shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

Delete Vector Store

Tool to delete a vector store. Use when you need to permanently remove a vector store by its ID.

ActionTry it

Delete Vector Store File

Tool to delete a vector store file. This removes the file from the vector store but does not delete the file itself. Use when you need to remove a file from a vector store's search index.

ActionTry it

Delete video

Delete a video by ID from OpenAI's Videos API, returning a deletion result. DEPRECATED: The Videos API shut down on September 24, 2026; OpenAI does not list a replacement for it.

ActionTry it

Download file

Tool to download the contents of a specified file by its ID. Use when you need to retrieve file content from OpenAI.

ActionTry it

Download Video Content

Download a generated video's MP4 content or its thumbnail or spritesheet by video ID. DEPRECATED: OpenAI's Videos API shut down on September 24, 2026; OpenAI does not list a replacement for it.

ActionTry it

Edit Image

Tool to create edited or extended images via OpenAI Images Edit API. Use when you need to modify existing images based on a text prompt, with optional mask support for targeted edits.

ActionTry it

Generate Image

Tool to generate an image via the OpenAI Images API and return hosted image asset URL and metadata. Use when you need to create images from text descriptions for single-shot image generation.

ActionTry it

Get Chat Completion

Tool to retrieve a stored chat completion. Use when you need to fetch a previously created chat completion that was stored with store=true.

ActionTry it

Get Chat Completion Messages

Tool to retrieve messages from a stored chat completion. Use when you need to fetch the conversation history of a previously created chat completion. Only works with completions that were created with the store parameter set to true.

ActionTry it

Get ChatKit thread

Tool to retrieve a ChatKit thread by its ID. Use when you need to fetch details about a specific ChatKit thread including its status, title, and owner.

ActionTry it

Get Conversation Item

Tool to retrieve a single item from a conversation. Use when you need to fetch details of a specific message or item within a conversation.

ActionTry it

Get Eval

Tool to retrieve an evaluation by ID. Use when you need to inspect an existing evaluation's configuration, data source settings, or testing criteria.

ActionTry it

Get Eval Run Output Item

Tool to retrieve a specific output item from an evaluation run by its ID. Use when you need detailed results for a particular test case within an evaluation run.

ActionTry it

Get eval run output items

Tool to get a list of output items for an evaluation run. Use when you need to retrieve the detailed results of an eval run, including grading outcomes, input/output samples, and token usage.

ActionTry it

Get Evaluation Run

Tool to retrieve an evaluation run by ID to check status and results. Use when you need to monitor an evaluation run's progress or retrieve its final results after creation.

ActionTry it

Get Evaluation Runs

Tool to get a paginated list of runs for an evaluation. Use when you need to retrieve all runs or check the status of multiple runs for a specific evaluation.

ActionTry it

Get Input Token Counts

Tool to calculate input token counts for OpenAI API requests. Use when you need to estimate token usage before making an API call, validate content fits within model limits, or optimize prompts for token efficiency.

ActionTry it

Get Message

Retrieve a specific message from an Assistants thread by thread and message IDs to inspect its content and details. DEPRECATED: The Assistants API was shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

Get Response

Tool to retrieve a model response by ID. Use when you need to check the status, output, or metadata of a previously created response.

ActionTry it

Get Run Step

Retrieve a specific Assistants run step by thread, run, and step ID to inspect execution progress, tool calls, or message creation. File search result content can be requested. DEPRECATED: The Assistants API was shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

Get Vector Store

Tool to retrieve a vector store by its ID. Use when you need to get details of an existing vector store for file_search operations.

ActionTry it

Get Vector Store File

Tool to retrieve a file from a vector store. Use when you need to check the status or details of a file attached to a vector store.

ActionTry it

Get Vector Store File Batch

Retrieve a file batch by its vector store and batch IDs to check the status and file counts of a batch processing operation.

ActionTry it

Get Video

Retrieve a video generation job by ID to inspect its status, progress, and details. DEPRECATED: OpenAI's Videos API was shut down on September 24, 2026.

ActionTry it

List Assistants

List Assistants API assistants to discover an assistant ID from returned names or metadata. Results support cursor pagination, creation-time ordering, and page sizes of 1–100. DEPRECATED: The Assistants API shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

List Batches

Tool to list your organization's batches. Use when you need to view all batches, check batch statuses, or find a specific batch by listing them.

ActionTry it

List Chat Completions

Tool to list stored chat completions that were created with the `store` parameter set to true. Use to retrieve previously stored completions for review, analysis, or audit purposes.

ActionTry it

List ChatKit thread items

List items from a ChatKit thread, including messages, tool calls, and tasks. Results are paginated.

ActionTry it

List ChatKit Threads

Tool to list ChatKit threads with pagination and filtering. Use when you need to retrieve threads for a specific user or browse all available threads.

ActionTry it

List container files

List files in a specific container. Results are paginated.

ActionTry it

List Containers

List a page of containers, optionally filtering by name. Use the pagination cursor to retrieve further results.

ActionTry it

List Conversation Items

List a page of items in a conversation by ID for review or processing. Use the pagination cursor to retrieve further items.

ActionTry it

List engines

Tool to list available engines and their basic information. Use when you need to discover which engines are available.

ActionTry it

List Evals

Tool to list evaluations for a project. Use when you need to view all evaluations, check their configurations, or find a specific evaluation by listing them.

ActionTry it

List files

Lists files in the authenticated organization/project context. Results are cursor-paginated; use the returned last ID as the next request's after cursor when more results are available.

ActionTry it

List Files in Vector Store Batch

Tool to list vector store files in a batch. Use when you need to retrieve all files that were added to a vector store as part of a specific batch operation.

ActionTry it

List fine-tunes

Lists fine-tuning jobs for the authenticated context, with cursor pagination. An empty page does not necessarily mean that no jobs exist.

ActionTry it

List fine-tuning job checkpoints

Tool to list checkpoints for a fine-tuning job. Use when you need to retrieve model checkpoints created during the fine-tuning process. Checkpoints are created at various steps during training and can be used to evaluate model performance at different stages.

ActionTry it

List fine-tuning job events

Tool to get status updates for a fine-tuning job. Use when you need to monitor the progress of a fine-tuning job or retrieve event logs.

ActionTry it

List Input Items

Tool to retrieve input items for a given response from the OpenAI Responses API. Use when you need to inspect the inputs that were used to generate a specific response.

ActionTry it

List Messages

List messages in an Assistants thread, including outputs generated by a run. Results can be filtered by run and paginated using cursors, with a page size of 1–100 and creation-time ordering. DEPRECATED: The Assistants API shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

List models

Lists models available to the current account or organization, with model identifiers and ownership metadata. Results may include deprecated or assistant-incompatible models.

ActionTry it

List Run Steps

List steps in an Assistants API run to inspect execution progress, tool calls, and message creation events. Supports pagination, ordering, and optional file search result content. DEPRECATED: The Assistants API was shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

List Runs

List a page of Assistants runs belonging to a thread to inspect their status or execution history. The legacy operation supports ordering and cursor pagination. DEPRECATED: The Assistants API shut down on August 26, 2026; migrate to the Responses and Conversations APIs.

ActionTry it

List Skills

List skills with pagination and timestamp ordering, returning their IDs, names, and descriptions.

ActionTry it

List Vector Store Files

Tool to list files in a vector store. Use when you need to retrieve all files attached to a specific vector store.

ActionTry it

List Vector Stores

Tool to list vector stores to discover available vector stores by name or metadata. Use when you need to view all vector stores in your organization.

ActionTry it

List Videos

List video generation jobs and their statuses, with pagination and timestamp ordering, to review multiple tasks. DEPRECATED: OpenAI's Videos API was shut down on September 24, 2026.

ActionTry it

Modify Assistant

Modify an existing Assistants API assistant's configuration, such as its model, instructions, tools, or metadata. DEPRECATED: The Assistants API was shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

Modify Message

Modify metadata on a specific message in an Assistants conversation thread, identified by thread and message IDs. DEPRECATED: The Assistants API was shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

Modify Run

Update metadata on a specific Assistants run identified by its thread and run IDs. DEPRECATED: The Assistants API was shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

Modify thread

Update metadata on an existing Assistants API thread identified by its thread ID. DEPRECATED: The Assistants API shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

Modify Vector Store

Tool to modify an existing vector store. Use when you need to update the name, expiration policy, or metadata of a vector store.

ActionTry it

Retrieve assistant

Retrieve a specific assistant by ID to inspect its configuration and metadata. DEPRECATED: The Assistants API shut down on August 26, 2026; migrate to the Responses and Conversations APIs.

ActionTry it

Retrieve Batch

Tool to retrieve a batch by ID to check its status, progress, and results. Use when you need to check the current state of a batch job, view completion statistics, or access output file IDs.

ActionTry it

Retrieve container

Tool to retrieve details of a specific container by its ID. Use when you need to fetch container configuration, status, or metadata.

ActionTry it

Retrieve container file

Tool to retrieve metadata for a specific file in a container. Use when you need to get details about a container file including its size, path, and creation timestamp.

ActionTry it

Retrieve container file content

Tool to retrieve the content of a file within a container. Use when you need to download or access the actual file data from a container.

ActionTry it

Retrieve engine

Retrieve a legacy OpenAI engine by ID to inspect its availability and metadata. DEPRECATED: The engines endpoint was shut down in 2022; use the models endpoint instead.

ActionTry it

Retrieve file

Tool to retrieve information about a specific file. Use when you need to check the details, status, or metadata of a file by its ID.

ActionTry it

Retrieve fine-tuning job

Tool to retrieve information about a fine-tuning job. Use when you need to check the status, progress, or details of an existing fine-tuning job.

ActionTry it

Retrieve model

Tool to retrieve details of a specific model, confirming its metadata (ownership, created date) and verifying access under your org — a model appearing in OPENAI_LIST_MODELS does not guarantee access. Use before depending on a model ID in downstream calls.

ActionTry it

Retrieve run

Retrieve an Assistants run by thread and run ID to check its status, errors, and usage, such as when polling for completion before reading thread messages. DEPRECATED: The Assistants API shut down on August 26, 2026; migrate to the Responses and Conversations APIs.

ActionTry it

Retrieve thread

Retrieve an Assistants API thread by ID to inspect its metadata; message bodies are obtained separately. DEPRECATED: The Assistants API shut down on August 26, 2026. Migrate to the Responses API and Conversations API.

ActionTry it

Retrieve Vector Store File Content

Tool to retrieve the parsed contents of a vector store file. Use when you need to access the actual text content that has been processed and chunked for a file in a vector store.

ActionTry it

Run grader

Tool to run a grader to evaluate model performance on a given sample. Use when you need to evaluate model outputs against expected results using various grading strategies like string matching, text similarity, custom Python code, or model-based scoring.

ActionTry it

Search Vector Store

Tool to search a vector store for relevant chunks based on a query and file attributes filter. Use when you need to find specific content within a vector store for retrieval-augmented generation (RAG) or custom search workflows.

ActionTry it

Submit Tool Outputs to Run

Submit all tool call outputs together to continue an Assistants API run whose required action is submit_tool_outputs. DEPRECATED: The Assistants API shut down on August 26, 2026; migrate to the Responses API and Conversations API.

ActionTry it

Update Chat Completion

Tool to update metadata for a stored chat completion. Use when you need to modify tags or metadata for a completion that was created with store=true.

ActionTry it

Update Conversation

Tool to update a conversation's metadata. Use when you need to modify metadata for an existing conversation.

ActionTry it

Update Eval

Updates an evaluation's name or metadata without changing its data source configuration or testing criteria. OpenAI has scheduled existing evals to become read-only on October 31, 2026, and the Evals API to shut down on November 30, 2026.

ActionTry it

Update Vector Store File Attributes

Tool to update custom attributes on a vector store file. Use when you need to add or modify metadata associated with files in a vector store.

ActionTry it

Upload file

Upload file bytes to OpenAI for a specified purpose, such as fine-tuning, and return the uploaded file's details. The file ID can be used to reference the upload in subsequent operations.

ActionTry it

Validate grader configuration

Tool to validate a grader configuration for fine-tuning jobs. Use when you need to verify that a grader is correctly configured before using it in a fine-tuning job.

ActionTry it

How the OpenAI integration works

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

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

Set up OpenAI in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

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

  3. 3

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

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

The OpenAI integration currently exposes 128 actions, including Add Upload Part, Cancel batch, Cancel evaluation run, Cancel Response, Cancel Run, and Cancel upload. Agents invoke them on your behalf from chat or from automations.

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

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

Is the OpenAI integration secure?

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

OpenAI | Dench AI CRM