App Structure
app = { name: '', description: '', options: {}, actions: [] }
action = { name: '', display_name: '', description: '', properties: { // default properties } }
Example Workflow
- Form, flight origin and destination
- Form, credit card info
- Call Brighter Planet API, calculate carbon emission
- Charge credit card with Stripe
- Generate QR code
- Create PDF with:
- Origin / destination airport
- Credit card charge info
- QR code
- Email ticket and confirmation