Connect Strapi

What you need to connect Strapi to Indrava, and what Strapi allows in a post.

Embed
Preview of the card
<a href="https://indrava.forumulate.com/help/connect-strapi"><img src="https://indrava.forumulate.com/help/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/eb86896a-9649-48ed-a1a6-566b48188df7/pages/dcbeb65b-a795-445c-9f2a-b038a545ac2d/social-card.svg?v=3e7ae33eec8b" alt="Connect Strapi" width="600" height="315"></a>

<!-- Generated by scripts/channel-docs.ts from packages/providers. Do not edit by hand: edit the provider or the notes in the script. -->

Connect

In Indrava, open Channels, choose Connect a channel and pick Strapi. Paste the following. Indrava checks the details with Strapi before saving, and stores them encrypted.

What to paste

Needed

Notes

Strapi URL

yes

Example: https://cms.example.com

API token

yes

Strapi admin → Settings → API Tokens → Create new API token, with full access (or create, update and delete on the collection, plus Upload and Content-type-builder read).

Limits

  • Publishes an article: a title and a body of up to 100,000 characters. Links in an article are never shortened.

  • Media: up to 1 file per part.

  • Images: JPEG, PNG, GIF, WEBP.

  • Video: not accepted.

The composer shows the character count for each channel and names any file a channel will not take before you schedule.

Settings on each post

When this channel is selected in the composer, these settings appear:

Setting

Needed

Notes

Collection

yes

The collection type the post becomes an entry of. Chosen from a list read from the platform.

Title

yes

Slug

optional

Example: my-post

Excerpt

optional

Title field

optional

The collection's own field. Left empty, the one named title. Chosen from a list read from the platform.

Body field

optional

The collection's own field. Left empty, the one named content. Chosen from a list read from the platform.

Slug field

optional

The collection's own field for the slug. Left empty, no slug is sent. Chosen from a list read from the platform.

Excerpt field

optional

The collection's own field for the excerpt. Left empty, no excerpt is sent. Chosen from a list read from the platform.

Image field

optional

The media field the post's picture goes to. Left empty, the picture is not sent. Chosen from a list read from the platform.

Status

optional

One of: published, draft.

What else works

  • One part only: this channel has no threads or comments to put later parts in.

  • Formatting: the composer offers Markdown for this channel.

  • Analytics: Indrava does not read post numbers from this platform.

Good to know

  • Not yet run against a real Strapi account: this connection was written from Strapi's own documentation and tested against recorded answers only. Try it with one post you can delete before you rely on it.

Updated