Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[template request] MMS ticketing example #74

Open
dkundel opened this issue Dec 5, 2019 · 0 comments
Open

[template request] MMS ticketing example #74

dkundel opened this issue Dec 5, 2019 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed template-requests Requests for new templates

Comments

@dkundel
Copy link
Member

dkundel commented Dec 5, 2019

It would be nice to have an example template that shows how an MMS powered ticketing could work.

User flow:

  • Person visits a website (fictitious "Happy Hour" event website)
  • Person enters phone number and name
  • Person clicks "Issue ticket"
  • Button click will trigger a Twilio Function
  • Twilio Function will generate a QR code (this can contain a basic JSON for example with the name)
  • QR code is sent together with a message of Hi ${name}! Thanks for registering for the happy hour event. Here's your ticket! via Twilio Messaging (SMS with mediaUrl property)

Files needed

  • index.html, main.js and styles.css in an assets/ directory for the event website
  • issue-ticket.js in functions/ to send out the MMS
  • generate-qr-code.js as functions/ that receives data in a request parameter to generate a QR code and return it as an image data. (to be used mediaUrl prop of the MMS)
@dkundel dkundel added good first issue Good for newcomers help wanted Extra attention is needed template-requests Requests for new templates labels Dec 5, 2019
@dkundel dkundel changed the title [template ask] MMS ticketing example [template request] MMS ticketing example Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed template-requests Requests for new templates
Projects
None yet
Development

No branches or pull requests

1 participant