Skip to content

Configuration

The module has no settings form of its own. It reads everything from Drupal AI and FlowDrop.

1. Configure a provider

Add API keys or endpoints for at least one provider at /admin/config/ai/providers. Each provider declares which operation types it supports (chat, embeddings, text to image, and so on).

2. Set default models

At /admin/config/ai/settings, pick a default provider and model for each operation type you plan to use. AI nodes with an empty Model field use these defaults.

flowchart TD
    A{Model set on the node?} -- yes --> M[Use that model]
    A -- no --> B{Default model for the operation type?}
    B -- yes --> D[Use the default]
    B -- no --> C{Any model available?}
    C -- yes --> F[Use the first available model]
    C -- no --> E[Node fails: no AI models are configured]

3. Check which nodes are available

An AI node only works when some provider supports its operation type. The module hides node types without a provider from the FlowDrop editor's node sidebar, so you only see nodes that can run. The node type edit form at /admin/flowdrop/config/node-types shows a warning with links to compatible providers when none is configured.

If a node you expect is missing from the sidebar, configure a provider that supports its operation type and reload the editor.

Permissions

Task Permission Provided by
Build and edit workflows, use the prompt and guardrail pickers administer flowdrop FlowDrop
Configure providers and default models administer ai Drupal AI
Create and edit AI prompts manage ai prompts Drupal AI

Drupal AI's overview page at /admin/config/ai normally needs administer ai. This module also lets users with manage ai prompts open it, so they can reach the prompt library from the menu.