Use N8N Form without Trigger node

I have a use case where I need to request for missing information using the n8n form node based on what is missing from a specific webhook trigger. If the webhook JSON data includes some missing fields, the workflow should trigger a sub-workflow where it sends a message to the user along with a link to the form node so they can fill that information before the workflow continues after the form is submitted. I’m also open to other ideas to address this use case.

Other Solutions I’m thinking of:

  • Use “Slack” API integration to send a message and wait for response to fetch specific missing informationbut we use “ROAM” message app internally and would have to replicate the slack workflow in ROAM.

Information on your n8n setup

  • n8n version: 1.108.1

Hi @krunaldm

I think you can use the “Wait” node with the Resume option set to “On form submitted” and place this Wait node after an If condition that checks for missing values in the webhook parameters..

This way, if there are any missing values, the form will automatically open for the user to input the data,

The workflow will remain in a waiting state until the user completes and submits the form.

1 Like

Sorry I wasn’t clearer in my post earlier. The concern isn’t about having the workflow wait for response but it’s about using the form node without the form trigger type. As far as I’m aware, we are unable to use form node without using a form trigger node.

I think based on what you’re asking, it is exactly what @mohamed3nan tried to explain. You can use the wait node with some magic around it to allow a user to fill in additional information on a form.

let me create an example for you. How do you intend to message the user? And I assume you will have some sort of unique reference you need to pass around? Can you also maybe give us more context of what your current workflow is doing?

1 Like

Here is a crude example not knowing what your actual workflow looks like or what your use case is.

  1. webhook submission, if firstname is present everything continues as normal.
  2. If firstname is missing, we send a message to telegram with a url to the form we want to use to capture the missing fields. For now this is hradcoded to Name, but you can also build a dynamic form based on multiple missing fields.
  3. Once the user clicks the link and fills the form, the workflow continues and builds the complete dataset in the end to do whatever with.

Corrected workflow:

3 Likes

Thanks a lot - this really helped and solved our issue.

1 Like

Glad this helped resolve your issue. Further recommended reading, if you want to make the form dynamic for whatever data fields your’re missing, you can build a form using JSON instead so it’s reactive to the missing information

We actually did look into that and found that this specific “Wait Form” node doesn’t support JSON instead of the static number of fields. We were hoping to do JSON but I don’t think it is possible. Unless I’m missing something here.

You are correct now I see. Then I would just create a normal form trigger workflow and then use the next page form node to build the fields. Not 100% sure though how you would link it back to your original webhook you submitted.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.