About this action
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This action will trigger an AirMenu promotion.
- API endpoint slug
- airmenu.trigger_promotion
- Filter code method
- Airmenu.triggerPromotion.skip(string?: reason)
- Runtime method
- runAction("airmenu.trigger_promotion", {})
Action fields
Enterprise ID Dropdown list
- Label
- What's the enterprise to the place the order?
- Slug
- enterpriseId
- Required
- true
- Can have default value
- false
Promotion name Text input > Short text
- Label
- What's the promotion name to trigger?
- Slug
- promotion_name
- Required
- true
- Can have default value
- true
- Filter code method
- Airmenu.triggerPromotion.setPromotionName(string: promotionName)
Value paid Text input > Short text
- Label
- What's the amount to be paid in this promotion?
- Slug
- value_paid
- Required
- true
- Can have default value
- true
- Filter code method
- Airmenu.triggerPromotion.setValuePaid(string: valuePaid)
User promo email Text input > Short text
- Label
- What's the email of the person who will get the promotion?
- Slug
- user_promo_email
- Required
- true
- Can have default value
- true
- Filter code method
- Airmenu.triggerPromotion.setUserPromoEmail(string: userPromoEmail)