Creating a Shopify app which creates a contact form with shortcode and sends the values to the app backend

90 Views Asked by At

Currently I’m trying to create a Shopify app which will be used to get input values from a contact form and use those values in an API request to Zendesk.

I already created the API request for Zendesk and made sure it works. Now I need to get the values from the contact form on the frontend to the Shopify app. I know of several apps which you can use to create a contact form and then use a shortcode to place that form on a page in Shopify. I was wondering how I could recreate something like that. And then how I could send the values from the contact form to my Shopify app.

Can someone tell me how I can create this?

Thanks in advance, Ivan

1

There are 1 best solutions below

6
David Lazar On

If you have an App, just add a Proxy endpoint to it, and then your App can use a front-end call to your proxy with the result of the form input. That can then be used to securely inform your App of the input, and you can go from there. It is what the Proxy does best.