How to display intermediate result to user and get user input

Hey there,

I’m trying to create a workflow that does the following:

  1. get 1-2 text fields of user input
  2. manipulate the data (web search, calculations, etc. )
  3. display the intermediate result to the user, the user should be able decide what to do next (A or B)
  4. do A or B

I’m using a Form Trigger for 1, and 2 works fine.

I’m stuck on 3. (display information to a user). Somewhat similar to this thread (unsolved imho).

The data I would like to display is a table with ~10 rows and a paragraph of text that contains some links, so I would like to display html/ markdown.

I tried:

(a) the form node, but it seems that the custom html needs to be static / does not resolve java script expressions. (I manage to display custom text in the name of a form field, but this is text only and does not display links)

(b) another option would be the webhook node (set the initial form trigger to respond webhook, and serve a full html page) but I’m at a loss how to process user input with this approach. I could add links to my HTML page pointing to further webhook triggers, but then I don’t think I can access the data from the first part of the flow in the flows that are started.

I’m pretty sure there is something obvious on how to use the toolkit that I’m missing?

Thanks for your help :slight_smile:

@Georg_Wachter could you share your workflow and I’ll help to figure out the issue

@Alex_Huang

Thanks for the help - the issue is in step #4, custom HTML is not displayed/ resolved. Minimal example below. The issue is that the prepared HTML includingn the ‘haiku’ text based on the input is not displayed since custom HTML in the form node is not resolved.
image

Maybe you could leverage Form description option?

If this suggestion resolves your question, please mark this post as a :white_check_mark: Solution.

1 Like

Perfect - this does the job :smile:

Somehow I thought I had gone through all the options but missed this …

fixed workflow below, maybe it helps somebody in the future.

1 Like

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