FlowDrop Field Widget Actions¶
FlowDrop Field Widget Actions adds a button to a field on an entity form that runs a FlowDrop workflow and offers the result as a suggestion for that field. The workflow receives the current form values, so it works on unsaved and new entities. You build the processing logic in the FlowDrop editor; the module provides the button, the context passed to the workflow, and two workflow nodes to read the entity and return the suggestion.
It builds on Field Widget Actions, which provides the button and suggestion UI on form widgets.
flowchart LR
Editor([Editor clicks action button]) --> Action[Field widget action]
Action -->|form values + entity context| WF[FlowDrop workflow]
WF --> Extractor[Entity Field Extractor]
Extractor --> Logic[Your nodes: AI, prompts, lookups]
Logic --> Output[Field Suggestion Output]
Output -->|processed_content| Action
Action --> Suggest([Suggestion shown on the field])
Features¶
- Two field widget actions:
- FlowDrop Workflow for text, email and telephone fields.
- FlowDrop Entity Reference Workflow for entity reference fields, with clickable suggestion chips and a replace or append mode.
- Two FlowDrop nodes in the Field Widget Actions category:
- Entity Field Extractor turns form values or the saved entity into a plain text context for prompts.
- Field Suggestion Output returns the suggestion, converting Markdown to plain text, Markdown or HTML.
- Up to three suggestions per click; each one is a separate workflow run.
- Works on new entities by reading values from the form state.
- Messages from Messenger nodes in the workflow show next to the field when the workflow returns nothing.
- A dedicated permission, since each run can spend AI provider credits.
Where to go next¶
- Installation
- Configuration: permission and adding the action to a form display.
- Building a workflow: the minimal workflow the action expects.
- For Developers: the context passed to workflows and how the output is read.