Tyme Trigger icon

Tyme Trigger

Starts the workflow when a Tyme event occurs

Tyme Trigger

AI-generated

Summary

Starts a workflow when a selected Tyme event occurs, by registering a webhook subscription with the Tyme API and emitting the received payload as workflow data.

Inputs

  • Event (required) — Which Tyme event to listen for: Category Created (category), Project Created (project), Sub-Task Created (subtask), Task Created (task), Time Entry Created (time, the default), or Time Entry Stopped (stopped_time). Sent to Tyme as the trigger_type.
  • Credentials (tymeOAuth2Api) (required) — Tyme OAuth2 credential used to authenticate the subscribe and unsubscribe calls.

Output shape

One workflow execution per incoming POST to the node's webhook URL. The request body is emitted as items: if the body is an array, each element becomes its own item's json; otherwise the body is a single item.

The payload fields are whatever Tyme sends; the node does not transform or validate them. On activation it POSTs to https://api.tyme-app.com/webhooks/subscribe with hook_url and trigger_type. On deactivation it sends DELETE to /webhooks/unsubscribe. Any non-200 response fails with an error; 401 and 403 get specific messages. The webhook responds immediately on receipt (responseMode onReceived). The node is also flagged usable as a tool.

Examples

Example 1: Post a Slack message whenever a time entry is stopped.

Event = Time Entry Stopped; connect Tyme OAuth2 credentials; activate the workflow and add a Slack node after the trigger.

Example 2: Sync new projects to a CRM or spreadsheet.

Event = Project Created; activate the workflow and map the incoming project fields to a Google Sheets or CRM node.

Links

Discussion