n8n-nodes-formbase 0.10.1 → 0.10.2

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 CHANGED
@@ -47,7 +47,7 @@ Add **formbase** to a workflow, select the **Request** resource and an operation
47
47
  | **Create** | `requests.create` | Creates a request for a published form. Returns the request summary, including the request link in `url`. |
48
48
  | **Get** | `requests.get` | Reads one request: status, outcome, recipient, `answers` and `display` once it is completed. |
49
49
  | **Get Many** | `requests.list` | Lists the requests of a form or of the whole workspace, newest first, with status, outcome, external ID and test filters. **Return All** follows the cursor across every page; otherwise **Limit** caps it. |
50
- | **Cancel** | `requests.cancel` | Cancels a pending request, with an optional reason the recipient sees. |
50
+ | **Cancel** | `requests.cancel` | Cancels a pending request, with an optional reason that comes back as `cancelReason` on the request and in the `request.canceled` event. |
51
51
  | **Remind** | `requests.remind` | Sends the recipient a reminder email now. |
52
52
  | **Replay Callback** | `requests.replayCallback` | Delivers the callback of a completed, expired or canceled request again, for example after n8n was down. |
53
53
 
@@ -93,7 +93,7 @@ A request is answered minutes or days later. To pause the workflow until then:
93
93
 
94
94
  [`examples/formbase-request-wait.json`](examples/formbase-request-wait.json) shows the whole pattern: formbase **Create** with **Wait for the Outcome** → **Wait** → **Switch** on the event type → **Set** reading the answers.
95
95
 
96
- A resume URL only exists once the execution runs, so the test run of a Create node in the editor waits for a real answer just like a production run. Give the request an **Expires At** or a **Reminders** schedule so a forgotten request does not hold the execution open forever; an expired request resumes the workflow with `request.expired`. If n8n was unreachable when the callback fired, run **Replay Callback** for the request, or read it with **Get**: the resume URL of a finished execution is gone, so a replay only helps while the execution is still waiting.
96
+ A resume URL only exists once the execution runs, so the test run of a Create node in the editor waits for a real answer just like a production run. A request expires after 30 days unless you set **Expires At**, and expiry resumes the workflow with `request.expired`; set **Expires At** to end the wait sooner. If n8n was unreachable when the callback fired, run **Replay Callback** for the request, or read it with **Get**: the resume URL of a finished execution is gone, so a replay only helps while the execution is still waiting.
97
97
 
98
98
  The Wait node cannot check the `X-formbase-Signature` header that the callback carries. The resume URL is unguessable, which is what n8n relies on for every Wait node; if that is not enough for a workflow, use the trigger node instead, which verifies every delivery.
99
99
 
@@ -112,8 +112,8 @@ Things worth knowing:
112
112
 
113
113
  1. Add **formbase Trigger** to a workflow.
114
114
  2. Select form and event: a request that is completed, expires or is canceled, or a public-link submission that is created, updated or abandoned. For an abandoned-submission event, select how long the response must remain unchanged.
115
- 3. For a test execution, select **Listen for Test Event**, then submit the selected form.
116
- 4. Activate the workflow. n8n registers its production webhook with formbase and removes it when the workflow is deactivated or deleted.
115
+ 3. For a test execution, click **Execute step** and submit the selected form within two minutes; that is how long n8n listens. Expired, canceled and abandoned events arrive later, so test those on the published workflow.
116
+ 4. Publish the workflow. n8n registers its production webhook with formbase and removes it when the workflow is unpublished or deleted.
117
117
 
118
118
  n8n webhook URL must be publicly reachable over HTTPS. For reverse-proxy or tunnel deployments, configure n8n's `WEBHOOK_URL` so generated webhook URLs use public origin. For a local n8n, see [Run locally against formbase](#run-locally-against-formbase).
119
119
 
@@ -128,7 +128,7 @@ One channel, one event: **Public Link Submission Created** runs for public-link
128
128
  ## Example workflows
129
129
 
130
130
  - [`examples/formbase-request-wait.json`](examples/formbase-request-wait.json): a formbase **Create** node with **Wait for the Outcome**, a **Wait** node, a **Switch** on `request.completed` / `request.expired` / `request.canceled`, and a **Set** node that reads the request ID, outcome and an answer. Connect the credential, pick a form with a `company_name` field (or change the Fields mapping and the Set node), and run it.
131
- - [`examples/formbase-submission.json`](examples/formbase-submission.json): a **formbase Trigger** that maps event ID, event type, submission ID, respondent email, and form name into stable output fields. Connect the credential, select a form, then activate the workflow.
131
+ - [`examples/formbase-submission.json`](examples/formbase-submission.json): a **formbase Trigger** that maps event ID, event type, submission ID, respondent email, and form name into stable output fields. Connect the credential, select a form, then publish the workflow.
132
132
 
133
133
  ## Output
134
134
 
@@ -272,21 +272,25 @@ The formbase node lives in `nodes/Formbase/`: `Formbase.node.ts` wires the node
272
272
 
273
273
  The credential's server URL is a hidden field fixed to `https://api.formbase.so/api/v1` (`FORMBASE_API_RESOURCE_URL` in `nodes/Formbase/constants.ts`). A local build therefore always talks to production formbase: requests, webhook subscriptions and test submissions it creates are real data in the workspace you connect. Use a workspace meant for testing.
274
274
 
275
- `npm run dev` starts n8n on `http://localhost:5678`. That is enough to connect the credential, but formbase cannot reach `localhost`, so an activated **formbase Trigger** never runs and a **Wait for the Outcome** callback never arrives. Two n8n settings fix this:
275
+ `npm run dev` starts n8n on `http://localhost:5678`. That is enough to connect the credential, but formbase cannot reach `localhost`, so a published **formbase Trigger** never runs and a **Wait for the Outcome** callback never arrives. Two n8n settings fix this:
276
276
 
277
- - `WEBHOOK_URL`: the public address n8n puts into the webhook and resume URLs it generates. The trigger sends its webhook URL to formbase when the workflow is activated (`webhooks.create`), and **Wait for the Outcome** sends `{{ $execution.resumeUrl }}` as the request's callback. Point it at a tunnel to `localhost:5678`, with a trailing `/`.
278
- - `N8N_EDITOR_BASE_URL`: the address n8n builds the OAuth callback URL from. When `WEBHOOK_URL` points at a tunnel and this is not set, the OAuth callback points at the tunnel too, and n8n answers it with "Unauthorized" because the browser's n8n login cookie belongs to `localhost`. Set it to `http://localhost:5678/`.
277
+ - `WEBHOOK_URL`: the public address n8n puts into the webhook and resume URLs it generates. The trigger sends its webhook URL to formbase when the workflow is published (`webhooks.create`), and **Wait for the Outcome** sends `{{ $execution.resumeUrl }}` as the request's callback. Point it at a tunnel to `localhost:5678`, with a trailing `/`.
278
+ - `N8N_EDITOR_BASE_URL`: the address n8n builds a trigger's test URL for **Execute step** from, and the OAuth callback URL. Set it to the same tunnel address. Left at `http://localhost:5678/`, **Execute step** on a trigger fails with `VALIDATION_ERROR: targetUrl must use https`.
279
+ - `N8N_PROXY_HOPS=1`, so n8n reads the tunnel's forwarded headers.
279
280
 
280
281
  ```bash
281
282
  cloudflared tunnel --url http://localhost:5678 # prints https://<random>.trycloudflare.com
282
283
 
283
284
  # in a second terminal
284
285
  WEBHOOK_URL=https://<random>.trycloudflare.com/ \
285
- N8N_EDITOR_BASE_URL=http://localhost:5678/ \
286
+ N8N_EDITOR_BASE_URL=https://<random>.trycloudflare.com/ \
287
+ N8N_PROXY_HOPS=1 \
286
288
  npm run dev
287
289
  ```
288
290
 
289
- A quick tunnel gets a new address every time `cloudflared` restarts. After a restart, update `WEBHOOK_URL`, restart n8n, and deactivate and reactivate each workflow so the trigger registers its new webhook URL with formbase.
291
+ Open n8n through the tunnel address, not `localhost`, from then on: the OAuth callback lands on the tunnel, and it needs the n8n login cookie of that address.
292
+
293
+ A quick tunnel gets a new address every time `cloudflared` restarts. After a restart, update `WEBHOOK_URL`, restart n8n, and unpublish and publish each workflow again so the trigger registers its new webhook URL with formbase.
290
294
 
291
295
  ## Release
292
296
 
@@ -11,7 +11,7 @@ class FormbaseOAuth2Api {
11
11
  light: 'file:../nodes/Formbase/formbase-logo.svg',
12
12
  dark: 'file:../nodes/Formbase/formbase-logo.dark.svg',
13
13
  };
14
- this.documentationUrl = 'https://github.com/formbaseso/n8n-nodes-formbase#configure-credentials';
14
+ this.documentationUrl = 'https://docs.formbase.so/guides/n8n/connect/';
15
15
  this.properties = [
16
16
  {
17
17
  displayName: 'Use Dynamic Client Registration',
@@ -1 +1 @@
1
- {"version":3,"file":"FormbaseOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/FormbaseOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,2DAAiG;AAEjG,MAAa,iBAAiB;IAA9B;QACE,SAAI,GAAG,oCAAwB,CAAA;QAE/B,YAAO,GAAG,CAAC,WAAW,CAAC,CAAA;QAGvB,gBAAW,GAAG,qBAAqB,CAAA;QAEnC,SAAI,GAAS;YACX,KAAK,EAAE,0CAA0C;YACjD,IAAI,EAAE,+CAA+C;SACtD,CAAA;QAED,qBAAgB,GAAG,wEAAwE,CAAA;QAE3F,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,iCAAiC;gBAC9C,IAAI,EAAE,8BAA8B;gBACpC,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,IAAI;aACd;YACD;gBACE,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,qCAAyB;gBAClC,QAAQ,EAAE,IAAI;aACf;SACF,CAAA;QAED,SAAI,GAA2B;YAC7B,OAAO,EAAE;gBACP,GAAG,EAAE,6BAA6B;gBAClC,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE;oBACJ,MAAM,EAAE,QAAQ;oBAChB,MAAM,EAAE,EAAE;iBACX;aACF;SACF,CAAA;IACH,CAAC;CAAA;AAzCD,8CAyCC"}
1
+ {"version":3,"file":"FormbaseOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/FormbaseOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,2DAAiG;AAEjG,MAAa,iBAAiB;IAA9B;QACE,SAAI,GAAG,oCAAwB,CAAA;QAE/B,YAAO,GAAG,CAAC,WAAW,CAAC,CAAA;QAGvB,gBAAW,GAAG,qBAAqB,CAAA;QAEnC,SAAI,GAAS;YACX,KAAK,EAAE,0CAA0C;YACjD,IAAI,EAAE,+CAA+C;SACtD,CAAA;QAED,qBAAgB,GAAG,8CAA8C,CAAA;QAEjE,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,iCAAiC;gBAC9C,IAAI,EAAE,8BAA8B;gBACpC,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,IAAI;aACd;YACD;gBACE,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,qCAAyB;gBAClC,QAAQ,EAAE,IAAI;aACf;SACF,CAAA;QAED,SAAI,GAA2B;YAC7B,OAAO,EAAE;gBACP,GAAG,EAAE,6BAA6B;gBAClC,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE;oBACJ,MAAM,EAAE,QAAQ;oBAChB,MAAM,EAAE,EAAE;iBACX;aACF;SACF,CAAA;IACH,CAAC;CAAA;AAzCD,8CAyCC"}
@@ -6,12 +6,12 @@
6
6
  "resources": {
7
7
  "credentialDocumentation": [
8
8
  {
9
- "url": "https://github.com/formbaseso/n8n-nodes-formbase#configure-credentials"
9
+ "url": "https://docs.formbase.so/guides/n8n/connect/"
10
10
  }
11
11
  ],
12
12
  "primaryDocumentation": [
13
13
  {
14
- "url": "https://github.com/formbaseso/n8n-nodes-formbase"
14
+ "url": "https://docs.formbase.so/guides/n8n/send-a-request/"
15
15
  }
16
16
  ]
17
17
  }
@@ -105,10 +105,10 @@ class FormbaseTrigger {
105
105
  triggerPanel: {
106
106
  header: 'Listening for formbase events',
107
107
  executionsHelp: {
108
- inactive: 'While building the workflow, click <em>Listen for Test Event</em> and submit the form once, or complete, cancel or let a request expire. Events arrive in real time after the workflow is activated.',
109
- active: 'Events for the selected form trigger this workflow. The webhook remains registered while the workflow is active.',
108
+ inactive: 'While building the workflow, click <em>Execute step</em> and submit the form within two minutes, or complete a request. Expired, canceled and abandoned events arrive later: publish the workflow and check Executions.',
109
+ active: 'Events for the selected form trigger this workflow. The webhook stays registered while the workflow is published.',
110
110
  },
111
- activationHint: 'Activate the workflow to register the webhook with formbase. Deactivating removes it.',
111
+ activationHint: 'Publish the workflow to register the webhook with formbase. Unpublishing removes it.',
112
112
  },
113
113
  properties: [
114
114
  {
@@ -1 +1 @@
1
- {"version":3,"file":"FormbaseTrigger.node.js","sourceRoot":"","sources":["../../../nodes/Formbase/FormbaseTrigger.node.ts"],"names":[],"mappings":";;;AASA,+CAAsE;AAEtE,2CAOoB;AAEpB,uDAA4C;AAC5C,yEAAwG;AACxG,yDAAuD;AACvD,6CAA0C;AAM1C,MAAM,aAAa,GAA2B;IAC5C;QACE,IAAI,EAAE,gCAAgC;QACtC,KAAK,EAAE,mCAAuB,CAAC,iBAAiB;QAChD,WAAW,EACT,mNAAmN;KACtN;IACD;QACE,IAA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oBACpG,CAAC;oBACD,wBAAwB,CAAC,WAAW,CAAC,CAAA;oBACrC,OAAO,IAAI,CAAA;gBACb,CAAC;aACF;SACF,CAAA;IAcH,CAAC;IAXC,KAAK,CAAC,OAAO;QACX,IAAI,CAAC,IAAA,yDAA8B,EAAC,IAAI,CAAC,EAAE,CAAC;YAC1C,IAAI,CAAC,iBAAiB,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,GAAG,EAAE,CAAA;YAC/D,OAAO,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAA;QACpC,CAAC;QAED,MAAM,IAAI,GAAgB,IAAI,CAAC,WAAW,EAAE,CAAA;QAC5C,OAAO;YACL,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;SACnD,CAAA;IACH,CAAC;CACF;AAnKD,0CAmKC"}
@@ -6,12 +6,12 @@
6
6
  "resources": {
7
7
  "credentialDocumentation": [
8
8
  {
9
- "url": "https://github.com/formbaseso/n8n-nodes-formbase#configure-credentials"
9
+ "url": "https://docs.formbase.so/guides/n8n/connect/"
10
10
  }
11
11
  ],
12
12
  "primaryDocumentation": [
13
13
  {
14
- "url": "https://github.com/formbaseso/n8n-nodes-formbase"
14
+ "url": "https://docs.formbase.so/guides/n8n/public-link-submissions/"
15
15
  }
16
16
  ]
17
17
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-formbase",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "n8n community nodes for formbase — create requests, pause a workflow until a customer completes one, and trigger on completed, expired or canceled requests and on form submissions. Collect and verify customer information for workflows and AI agents.",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-formbase",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "n8n community nodes for formbase — create requests, pause a workflow until a customer completes one, and trigger on completed, expired or canceled requests and on form submissions. Collect and verify customer information for workflows and AI agents.",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",