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 send information of durational activity to Welltory.
- API endpoint slug
- welltory.send_activity
- Filter code method
- Welltory.sendActivity.skip(string?: reason)
- Runtime method
- runAction("welltory.send_activity", {})
Action fields
Data source Dropdown list
- Label
- What service are you tracking from?
- Helper text
- Choose Other if nothing matches
- Slug
- data_source
- Required
- true
- Can have default value
- true
- Filter code method
- Welltory.sendActivity.setDataSource(string: dataSource)
Data type Dropdown list
- Label
- What type of data?
- Helper text
- Choose Other if nothing matches.
- Slug
- data_type
- Required
- true
- Can have default value
- true
- Filter code method
- Welltory.sendActivity.setDataType(string: dataType)
Begin Text input > ISO 8601 date and time
- Label
- When should we start tracking it?
- Helper text
- Add an ingredient containing {at}, {starts}, or similar
- Slug
- begin
- Required
- true
- Can have default value
- true
- Filter code method
- Welltory.sendActivity.setBegin(string: begin)
End Text input > ISO 8601 date and time
- Label
- When should we stop tracking it?
- Helper text
- Add an ingredient containing {ends}, {at}, or similar
- Slug
- end
- Required
- true
- Can have default value
- true
- Filter code method
- Welltory.sendActivity.setEnd(string: end)
Comment Text input > Short text
- Label
- Briefly describe your applet (optional)
- Helper text
- It will help understand what your applet does if you chose Other service or data type
- Slug
- comment
- Required
- false
- Can have default value
- true
- Filter code method
- Welltory.sendActivity.setComment(string: comment)