Skip to content

Start building

Integration · Docs and data

AI agents for Drupal

Find, read, create, update and delete content (articles, pages and any content type), list taxonomy terms, and query any entity through a Drupal site's JSON:API, signed in as a Drupal user over HTTP Basic authentication.

Actions
8
Read
5
Write
3

Actions

What your agents can do in Drupal

8 actions. Each one is a tool your agents can call and a step your workflows can run.

Read 5

Look things up. Nothing changes.

  • List resource types

    Lists what the site's JSON:API offers, as links: one link per resource type, named like node--article, node--page, taxonomy_term--tags, media--image or user--user.

  • List content

    Lists content (nodes) of one content type, newest change first, as data.

  • Get content

    Reads one content item by its UUID: data.attributes with the title, status, body (value, summary, format), path and every field, and data.relationships (author, tags, images) as references.

  • List taxonomy terms

    Lists the terms of a vocabulary (like tags or categories), as data: each with its id (UUID, used to tag content), and attributes with name, description, weight and drupal_internal__tid.

  • Query any resource type

    Reads any JSON:API collection, like media (media/image), files (file/file), users (user/user) or a custom entity, with JSON:API filters as query parameters, like {"filter[status]".

Write 3

Create, change or send.

  • Create content

    Creates a content item of a content type.

  • Update content

    Changes some fields of a content item by its UUID: only the attributes and relationships you send change, like {"status": true} to publish or {"title": "New title"}.

  • Delete contentDeletes data

    Deletes a content item by its UUID, for good (Drupal has no trash).

A person can approve first

Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything. Actions that delete data ask first by default.

Connection

How it connects

Connect it once in the console, then give it to the agents and workflows that need it.

Username and key

Enter the API credentials from your Drupal account.

What you enter

  • Drupal user name
  • Password

Settings

  • Site address

Kept safe

  • Credentials are stored encrypted with your organization's own keys.
  • They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
  • Calls go only to the tool's own servers.

How we protect your data

Ideas

Ideas to start with

Starting points made only from the actions above. Mix them with any other tool your agents can use.

  • 01

    Ask about your Drupal data

    Ask a question in plain words. The agent can list resource types, list content or get content in Drupal, then answers with what it found.

  • 02

    Let an agent update Drupal

    Have the agent create content or update content in Drupal as part of a larger task. Turn on approval and a person signs off on each change first.

  • 03

    Share what it finds in Slack

    Give one agent Drupal and Slack: it can list resource types in Drupal and post a summary to a Slack channel in the same run.

FAQ

Drupal and MyDeepAgents

Can MyDeepAgents connect to Drupal?

Yes. The Drupal connector has 8 actions: 5 read and 3 make changes. Your agents can call them as tools, and your workflows can run them as steps.

How do I connect Drupal?

Enter the API credentials from your Drupal account. You'll need: Drupal user name and Password. The connection also asks for: Site address. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.

Can an agent change data in Drupal without asking?

Only if you let it. Each of the 3 actions that change data can be set to wait for a person's approval before it runs, and the one that deletes data asks first by default.

Can I use Drupal in workflows as well as agents?

Yes. Every Drupal action also works as a step in a workflow, and the same connection serves your agents and your workflows.

Early access

Put Drupal to work

Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.