Strapi
CMS & ContentConnect AI agents to a self-hosted or Strapi Cloud instance through the v5 REST API. Agents create, read, update, and delete content-type entries, manage Draft and Publish workflows, and upload files to the Media Library.
What This Integration Enables
An agent can list entries from any collection type with Strapi v5 querying: populate relations and media, filter with the document operator syntax, sort, select fields, paginate, request a locale, and choose published or draft entries. It gets a single entry by its v5 documentId, creates entries wrapped in the data envelope Strapi expects, updates them by documentId, and deletes them, with locale-aware behavior for internationalized content. For media, the agent uploads a file to the Media Library and can attach it to a specific entry field by supplying the target model, entry id, and field name. It also lists, gets, and deletes Media Library files by their numeric id. For content types with Draft and Publish enabled, new entries are created as drafts, and the agent publishes a draft by setting its status to Published. That publish step is the one it holds for a person.
Without FlowRunner
With FlowRunner
Use Case Scenarios
Bulk-Load a Content Backlog
The agent reads a backlog from [Google Sheets](/integrations/google-sheets) and calls Create Entry for each row to load articles or products into a collection as drafts. A spreadsheet of content becomes a set of structured entries without anyone keying them in.
Upload and Attach Media
When a file is shared in [Slack](/integrations/slack), the agent calls Upload File to push it into the Media Library and attaches it to the relevant entry by supplying the model, entry id, and field. The asset lands in the right place and linked to the right record automatically.
Publish After Approval
The agent uses List Entries to fetch newly created drafts, sends an approval prompt by [Gmail](/integrations/gmail-service) with the entry details, and only after a reviewer approves does it call Update Entry with the status set to Published. Content moves from draft to live on a person's decision, not on a timer.
Human-in-Loop Highlight
Creating drafts, reading and filtering entries, and uploading media are safe to automate, so the agent handles them on its own. Publishing is the consequential step, because setting a draft's status to Published makes it live through the API for every site and app reading Strapi. So when a flow reaches the publish step, the agent stops. It routes the drafted entry to a reviewer as a [human-in-the-loop](/concepts/human-in-the-loop/) step, showing the collection, the documentId, and the fields it set, and asks: "Set this entry to Published, or hold for edits?" On approval the agent calls Update Entry with the status set to Published. On hold, the entry stays a draft. The AI does the assembly; the decision to publish gets a person.
Agent Capabilities
9 actionsEntries
5- List Entries Lists entries from any collection type with Strapi v5 querying: populate relations and media, filter with the document operator syntax, sort, select fields, paginate, request a locale, and choose published or draft entries.
- Get Entry Retrieves a single entry by its Strapi v5 documentId, optionally populating relations, components, and media, and choosing the published or draft version.
- Create Entry Creates an entry in a collection type, wrapping the fields in the data envelope Strapi expects. With Draft and Publish enabled, the entry is created as a draft unless the target status is published.
- Update Entry Updates an entry by its documentId, changing only the fields you provide. Set the status to Published or set publishedAt to publish a draft, depending on the content type's configuration.
- Delete Entry Permanently deletes an entry by its documentId. For internationalized content, deleting without a locale removes all localizations; pass a locale to remove only that one.
Media
4- Upload File Uploads a file to the Media Library and can attach it to a specific entry field by supplying the target model, the numeric entry id, and the field name.
- List Media Files Lists files in the Media Library, with filtering by name, mime type, or other fields, and sorting.
- Get Media File Retrieves metadata for a single Media Library file by its numeric id, including name, url, mime type, size, dimensions, and generated formats.
- Delete Media File Permanently deletes a file from the Media Library by its numeric id.
Start building with Strapi
$100 in credits. No card required. Connect in minutes.