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 give you a mild zap from your Pavlok.
- API endpoint slug
- pavlok.zap
- Filter code method
- Pavlok.zap.skip(string?: reason)
- Runtime method
- runAction("pavlok.zap", {})
Action fields
Value Dropdown list
- Label
- Which zap intensity?
- Helper text
- Low, Medium or High
- Slug
- value
- Required
- true
- Can have default value
- false
Reason Text input > Short text
- Label
- Why do you want to be zapped?
- Helper text
- E.g You didn't hit your fitness goal
- Slug
- reason
- Required
- true
- Can have default value
- true
- Filter code method
- Pavlok.zap.setReason(string: reason)