Solved

Track Product Inventory with Order form typeforms

  • 22 February 2021
  • 2 replies
  • 32 views

Im currently building a type form that is an order form. I used the t-shirt order form template and I’m trying to figure out how can I keep track of my product inventory. To avoid over-selling and create a control to sell out after the amount of people order all of my certain product inventory (t-shirt). Should I connect to and outside app? I have the premium package and would hate to have to pay for two website like applications. 

icon

Best answer by picsoung 23 February 2021, 05:56

Hey @lexxeffexx 

what a great idea!

There are a few ways to achieve this but ultimately it depends on where your inventory available, what is the “source of truth”.

It could be a google spreadsheet, a database, a shopify backend, an airtable base… you get to decide what works best for you 😉

Then every time someones orders a shirt through the typeform you could use a webhook, that will “notify” you that someone has placed a new order. This webhook will receive the details of the order in real time, create shipping label, send email to customer,… but mainly check if inventory and if it reaches 0 call Typeform Create API to update the form and delete the option in the form.

To create this webhook, you can either rely on workflow apps like Zapier, Integromat or n8n. Or build your own logic in code.

Finally, if you want to manage inventory in Typeform, you can keep track of how many times the webhook has been called.

This is all theoretical, but happy to dig together here once you tell us more about your stack 😉 

View original

2 replies

Userlevel 7
Badge

Hi @lexxeffexx  thanks for popping by the community! We don’t currently have any integrations that can check for inventory as the form is being filled out, but I’m double checking with our developers to see if there are any workarounds that I’m not aware of. Regardless, I’ll note the suggestion for future integrations! 

Userlevel 5
Badge

Hey @lexxeffexx 

what a great idea!

There are a few ways to achieve this but ultimately it depends on where your inventory available, what is the “source of truth”.

It could be a google spreadsheet, a database, a shopify backend, an airtable base… you get to decide what works best for you 😉

Then every time someones orders a shirt through the typeform you could use a webhook, that will “notify” you that someone has placed a new order. This webhook will receive the details of the order in real time, create shipping label, send email to customer,… but mainly check if inventory and if it reaches 0 call Typeform Create API to update the form and delete the option in the form.

To create this webhook, you can either rely on workflow apps like Zapier, Integromat or n8n. Or build your own logic in code.

Finally, if you want to manage inventory in Typeform, you can keep track of how many times the webhook has been called.

This is all theoretical, but happy to dig together here once you tell us more about your stack 😉 

Reply