How to grab data from Text Fields and send to external API

I have a Contact Us form on my webpage. I want to send the input taken from those fields to my pipedream workflow. However, I am having trouble understanding how to turn the values of the text fields into variables, which then I can send as a post request to my endpoint URL.

image

When you start filling out the form, the form → values will be populated as a JSON object. Here’s a screenshot as an example:

You should be able to use this json ($state.form.value) in the onSubmit interaction.