You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"position": [460, -520], //note: this line is optional and not needed to run
105
+
"id": "fetch-enta-user-enabled-status-dynamic", //note: this line is optional and not needed to run
106
+
"name": "Fetch Current Azure Status",
107
+
"credentials": {
108
+
"oAuth2Api": {
109
+
"id": "{{ $json.credential_id }}",
110
+
"name": "{{ $json.credential_name }}"//note: this line is optional and not needed to run
111
+
}
112
+
},
113
+
"onError": "continueRegularOutput"
114
+
}
115
+
```
116
+
117
+
- You can also add more expressions to parameterize the other items and trim it down further to keep it clean:
118
+
```json
119
+
{
120
+
"parameters": {
121
+
"url": "{{ $json.dynamic_url }}",
122
+
"authentication": "genericCredentialType",
123
+
"genericAuthType": "oAuth2Api"
124
+
},
125
+
"type": "n8n-nodes-base.httpRequest",
126
+
"typeVersion": 4.2,
127
+
"name": "Fetch Current Azure Status",
128
+
"credentials": {
129
+
"oAuth2Api": {
130
+
"id": "{{ $json.credential_id }}"
131
+
}
132
+
}
133
+
}
134
+
```
69
135
70
136
4. **Click *Test step***. The node will:
71
137
72
138
* Clone an internal **Start → YOUR NODE** mini‑workflow.
73
139
* Evaluate any `{{…}}` expressions (`$json`, etc.).
74
140
* Execute the underlying node with your credentials and input items.
75
-
* Return its output as the Dynamic Node’s own output.
141
+
* Return its output as the `Dynamic Node`’s own output.
76
142
77
-
> **Note:** More complex node options like pagination that rely on elements from `$response` don't seem to work since that isn't handled properly in sub-workflow/child execution contexts.
143
+
> **Note:** More complex node options like pagination that rely on elements from `$response` don't seem to work since that is handled differently in sub-workflow/child execution contexts. You can still workaround that by doing a loop to manually handle pagination.
78
144
79
145
---
80
146
81
147
## Tips & Troubleshooting
82
148
83
-
* Always use **Expression mode** when your JSON contains `={{…}}` placeholders.
149
+
* Always use **Expression mode** when your JSON contains `{{…}}` placeholders.
84
150
* Ensure your pasted JSON is a **true object** (no wrapping quotes).
85
-
* Double‑check that your exported node JSON includes a unique `name` field.
151
+
* Double‑check that your exported node JSON includes a `name` field.
152
+
* **Note:** The `Dynamic Node` will append on **" - Dynamic Node"** to whatever name you've specified to make sure there aren't name collisions with whatever node you originally copied.
86
153
* If you see **“Node JSON must be an object”**, switch to Expression mode and remove stray quotes.
0 commit comments