Actions41
- Focus Actions
- Habit Actions
- Project Actions
- Project Group Actions
- Sync Actions
- Tag Actions
- Task Actions
- User Actions
Habit → Create
AI-generatedOverview
This node operation creates a new habit in the TickTick application using the TickTick Session API (V2). It is useful for automating habit tracking by programmatically adding habits with customizable attributes such as name, color, goal, reminders, and recurrence rules. For example, a user can create a habit named 'Morning Exercise' with daily reminders and a motivational message.
Use Case Examples
- Create a habit named 'Morning Exercise' with a green color, daily reminders at 9 AM and 9 PM, and a motivational message 'Keep up the great work!'
- Add a numeric habit to track water intake with a goal of 8 glasses per day and unit 'glasses'.
Properties
| Name | Meaning |
|---|---|
| Authentication | Selects the authentication method to use for the TickTick API. Note that habits require the TickTick Session API (V2) credential. |
| Name | The name of the habit to be created. |
| Additional Fields | Optional additional habit attributes such as color, encouragement message, goal, icon, reminders, repeat rule, step increment, target days, type (Boolean or Numeric), and unit of measurement. |
Output
JSON
id- The unique identifier of the created habit.name- The name of the created habit.color- The color assigned to the habit.encouragement- The motivational message associated with the habit.goal- The target goal value set for the habit.icon- The icon representing the habit.reminders- The reminder times set for the habit.repeatRule- The recurrence rule defining how often the habit repeats.step- The increment step for numeric habits.targetDays- The target number of days for the habit.type- The type of habit tracking (Boolean or Numeric).unit- The unit of measurement for numeric habits.
Dependencies
- Requires TickTick Session API (V2) credential for authentication.
Troubleshooting
- If the habit creation fails, ensure that the TickTick Session API (V2) credential is selected as habits require this authentication method.
- Common errors include unsupported operation errors if the resource or operation is incorrect, or API errors if the authentication token is invalid or expired.
- Ensure that the 'Name' field is provided as it is required for habit creation.