@rolealpha/n8n-nodes-rolealpha 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -218,7 +218,8 @@ once by hand. No data table is needed; *Detect Changes* keeps its cursor in the
|
|
|
218
218
|
`approve-workflow-drafts.json`, and pick the credentials on every node that asks for one.
|
|
219
219
|
4. **Fill in Settings** in both workflows: `endpointUrl` and `organisation` of roleALPHA,
|
|
220
220
|
`governingStep`, and in the first one `n8nUrl`, `approvalUrl` (`<n8nUrl>/webhook/rolealpha-workflow-approval`)
|
|
221
|
-
and `mailFrom`.
|
|
221
|
+
and `mailFrom`. Adjust **Extra Rules** on *Propose* to your systems and runner; the last
|
|
222
|
+
rule keeps the builder off its own steps (see [The builder's own steps](#the-builders-own-steps)).
|
|
222
223
|
5. **Set up the governing step in roleALPHA**, as described in the next section. Without it
|
|
223
224
|
nobody may approve, and every draft stays a draft.
|
|
224
225
|
6. **Activate** *Approve workflow drafts* first, then *Workflows follow the organisation*. The
|
|
@@ -259,6 +260,20 @@ Changing who approves later needs no change in n8n: give the role to someone els
|
|
|
259
260
|
no longer fills the role do nothing. A person who fills two deciding roles of the step gets
|
|
260
261
|
one mail per role.
|
|
261
262
|
|
|
263
|
+
### The builder's own steps
|
|
264
|
+
|
|
265
|
+
The builder may be modelled in roleALPHA like any other value chain: a process with the steps
|
|
266
|
+
*detect changes*, *propose a draft* and the governing step, a role responsible for them and an
|
|
267
|
+
agent that fills the role. Its two workflows are not managed (they carry no binding), so for
|
|
268
|
+
the model such a step has no workflow yet. Approving these steps then makes it propose a
|
|
269
|
+
second detect workflow, or not, by chance. Give the builder's steps custom IDs of one prefix,
|
|
270
|
+
e.g. `automation:workflow-detect` and `automation:workflow-propose`, and name the prefix in
|
|
271
|
+
**Extra Rules** of *Propose*. The example workflow already has the rule:
|
|
272
|
+
|
|
273
|
+
```
|
|
274
|
+
The steps with Custom-ID automation:* are run by the Workflow Builder itself. Never propose a workflow for them.
|
|
275
|
+
```
|
|
276
|
+
|
|
262
277
|
## Nodes
|
|
263
278
|
|
|
264
279
|
### roleALPHA (`roleAlpha`)
|
|
@@ -467,6 +482,7 @@ not caught by the graph.
|
|
|
467
482
|
| `Empty MCP response` | The server answered with no body. Reading calls are repeated; a writing tool is not, so it cannot run twice. |
|
|
468
483
|
| `Cannot access "arguments" due to security concerns` | n8n blocks the name `arguments` in expressions and in `$fromAI`. Name the tool input `toolArgs` or `args`. |
|
|
469
484
|
| Propose returns `ok: false` | The model's answer failed the check twice; `problems` says why. Often a node type outside the allow list or a hard-coded address. Add what the model needs to **Extra Rules**. |
|
|
485
|
+
| Propose drafts a second detect workflow | The builder's own steps are modelled in roleALPHA and the model does not know that the builder runs them. Reject the draft and add the rule from [The builder's own steps](#the-builders-own-steps). |
|
|
470
486
|
| `The draft changed after it was proposed or approved` | Somebody edited the draft, or the link carries another hash. Discard it; the next change proposes again. |
|
|
471
487
|
| `Workflow … changed after the draft was made` | The target was edited after the draft. Discard the draft and let the builder propose again. |
|
|
472
488
|
| Detect fails with `kein Modul für die KI freigegeben` | No module is released for AI in roleALPHA. Release it under *AI settings → data release*. |
|
package/package.json
CHANGED