Pass Data from custom html into the workflow

I have a Workflow with the “custom form trigger node”. In the node I have an html and java code, that make an api query. So, I don’t understand, how to pass the data from the code into the workflow.

Information

  • n8n version:1.91.3
type or paste code here
  • Operating system: macOS

Hello,
In n8n, there are several ways to pass data created with your custom HTML and JavaScript code into your workflow using the “Form Trigger” node.
However, the “Form Trigger” node cannot directly process incoming data or support custom data submission methods.
Therefore, you need to use an alternative method to send your data into the workflow.
You can use the Webhook node instead.
Details: Webhook node documentation | n8n Docs