Workflow running and also bugging 🤔⁉️

Hi,

My workflow delivers “school content”.

  • It takes a request in an n8n Form, then an n8n dynamic form (thank you @ria)
  • Use AI,
  • Create a Google Doc.

:white_check_mark: The workflow delivers the content.
BUT the behavior is weird:
:red_question_mark:In test mode, the node “Form next page” seems to run without stopping.
:cross_mark: When the flow finishes a window
- with url “https://n8n.sourcinno.com/form-waiting/3019
- displays "502 Bad Gateway - nginx/1.18.0 (Ubuntu)


Do you have any clue on this two topics?

Many thanks in advance
Cheers

Share the output returned by the last node

Information on your n8n setup

  • n8n version: Last
  • Database (default: SQLite): PostGre
  • n8n EXECUTIONS_PROCESS setting (default: own, main):?
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):**docker
  • **Operating system:**windows11

Hey @AyS_0908

I think you’re missing the “form ending” node which is required to close out the form flow.

Also just an optional tip, if you want to reduce the “loading” time for users definitely consider using a (non-blocking) subworkflow trigger to run the document creation process in a separate execution. Here’s an example.

Thank you very much @Jim_Le .

While “Forms” are very useful, I kind of struggle with their functioning; I don’t know what I customize wrongly but they function differently from a workflow to another (sometimes ‘form ending’ required, sometimes not). I have to deep dive.