So you might what to use a Google Form, I do not know what type of Order you are trying to do, but in my example I will be assuming that an order is some type of department work order that is submitted and you want it to send a txt message to "supervisors" so that they can review the work order.
Here is a poorly drawn overview of how I envision this.
Overview Image
How I would Start
- Create your form.
- When you create a Google Form it automatically creates a Google Spreadsheet.
- You are able to input validate the data on the form itself OR if you are really picky, you can validate the data on the spreadsheet itself with Formulas or even app script itself.
- you set responses to direct the form to different pages or sections of the form based on an answer.
Image With example on how to base questions on previous answers
- Prepare your spreadsheet
- So you already have a sheet for your Form Submission. Lets make another Sheet for your receivers. This way you can edit your receivers mobile numbers so your App Script does all the heavy lifting by cycling through this sheet when sending the messages.
- You can also add any other information you need
- Google App Script
- Ok, The fun part. Now you have code. This is where you can get everything else you want or need. I would first write a function that all it does is collect the receivers data from your receivers sheet. Link to SpreadsheetApp I would recommend looking at the guide to get you situated on how things work in App Script.
- The Second function would be the Twilio API. I have not written anything for Twilio yet but here is what I found that I would use to get started to send a message. Of cousre you will have to modify it to cycle through your recipients and anything else you would want to do. I think this Post will be able to get the Twilio Door Open
- Here is also Twilios Documentation on sending SMS
I think that is plenty information for you to get a leaping start into this very interesting project you have. If you have any further questions please ask. If I don't know the answers I can definitely help point you in the right direction.
You will first have to start this project before I can get into some detail.
Hope this helps !