Integration
Connect Directus to Blog Automation
Articles become items of a collection in Directus (self-hosted or Directus Cloud). You map the fields once: title, slug, text, summary, cover image, tags, SEO fields and date.
What you need for Directus
- Directus on HTTPS.
- A collection, e.g. "articles", with a text field for the title and a WYSIWYG or Markdown field for the text.
- A user whose role may create and update items in that collection and files.
Step by step: connect Directus
- In Directus add a user under User Directory (e.g. "Blog Automation") with a role that may create and update your article collection and files.
- Open the user, generate a new value under Token, copy it and save the user.
- In Blog Automation: Websites & blogs → Connect website → Directus. Enter address and token, then click Check connection.
- Choose the collection and assign the fields under Field mapping. Then choose status and language and click Save.
Where do I find what in Directus?
| Field in Blog Automation | Where to find it in Directus |
|---|---|
| Directus address | The address of your Directus installation, e.g. https://cms.your-company.com. |
| Static token | User Directory → user → "Token" field. Only valid once the user has been saved. |
| Address of the articles on your website (optional) | A pattern like https://www.your-company.com/blog/{slug}. |
What is transferred to Directus?
Article text goes as HTML into a WYSIWYG field or as Markdown into a Markdown field, cover image into a file or image field (uploaded), tags into a tags, CSV or JSON field, date into a date/time field. If the collection has a status field, Blog Automation sets published or draft.
Tips for Directus
- Give the user only what it needs: create and update on the article collection and on
directus_files.
Good to know about Directus
- Without a
statusfield Directus has no drafts - items are visible straight away. - Images inside the article text stay links; only the cover image is uploaded.
Frequently asked questions about Directus
"There is no collection in Directus yet"
Create a collection under Settings → Data Model (e.g. "articles") and check again.
Saving reports missing permissions.
The user’s role needs "Create" and "Update" on the collection and on files (directus_files).
Similar platforms
Strapi
Articles become entries of a content type in Strapi 5 (self-hosted or Strapi Cloud).
Tested with a real accountRead the guidePayload
Articles become documents of a collection in Payload CMS 3 (self-hosted).
Tested with a real accountRead the guideContentful
Articles become entries of a content type in your Contentful space.
Tested with a real accountRead the guideSanity
Articles become documents in your Sanity dataset - with title, slug, Portable Text, cover image, tags and date.
Tested with a real accountRead the guideStoryblok
Articles become stories in your Storyblok space - with the story’s name, slug and tags, plus text, summary, image and date in the fields of your content type.
Tested with a real accountRead the guideDatoCMS
Articles become records of a model in your DatoCMS project - with title, slug, text, summary, cover image, SEO field and date.
Tested with a real accountRead the guide
Ready for your first post?
Try Blog Automation with sample data
The demo opens at once, no sign-up needed. You see the dashboard, editor, calendar and approval just the way your team will use them.
The demo shows sample texts. The Free plan includes 200 tokens a month.
