Merged
Size
S
Change Breakdown
Feature85%
Config15%
#27927feat(editor): Add missing agent permissions for workflow and data table actions

Agent gains workflow and data table permission controls

Agent gains workflow and data table permission controls

Admins can now configure whether the n8n Agent needs approval before creating workflows, updating them, or deleting data tables — adding three new granular permission controls to the AI settings.

The n8n Agent can now be configured with finer control over workflow and data table operations. Three new permission toggles let administrators choose whether the AI needs explicit approval before creating workflows, updating existing workflows, or deleting data tables.

When enabled, the switches allow the agent to act autonomously for these operations. When disabled (the default), the agent must request human approval — a human-in-the-loop safeguard for sensitive actions. The permissions integrate with existing UI components in the Instance AI settings page, where i18n-labeled toggle switches handle persistence after save.

This expansion builds on the existing permission schema that already covered workflow execution, credential management, and schema mutations. The changes span the API types package (schema definitions), the frontend editor UI (toggle components), and the i18n locale files (labels).

View Original GitHub Description

Summary

  • Adds createWorkflow, updateWorkflow, and deleteDataTable permissions to the n8n Agent permission schema
  • All three default to require_approval (HITL, not blocked)
  • Adds toggle switches in the PermissionsSection settings UI
  • Adds i18n translation keys for both admin and user-facing settings

Test plan

  • Verify new permissions appear in the Instance AI settings page
  • Toggle create/update workflow and delete data table permissions and confirm they persist after save
  • Verify the agent respects the new permission modes when creating/updating workflows and deleting data tables
© 2026 · via Gitpulse