Productive icon

Productive

Interact with the Productive API

Actions508

Time Entries → Create a time entry

AI-generated

Summary

Create a new time entry in Productive by specifying details such as date, service ID, person ID, optional task ID, time spent in minutes, notes, and various Jira and calendar-related fields.

Inputs

  • Date — The date of the time entry (date-time format).
  • Service ID (required) — The ID of the service associated with the time entry.
  • Person ID (required) — The ID of the person for whom the time entry is recorded.
  • Task ID — Optional ID of the task related to this time entry.
  • Note — Additional notes describing the time entry.
  • Time — Time spent for the entry, expressed in minutes.
  • Jira Issue ID — Associated Jira issue ID.
  • Jira Worklog ID — Associated Jira worklog ID.
  • Jira Organization — Jira organization ID.
  • Jira Issue Status — Status of the related Jira issue.
  • Jira Issue Summary — Summary of the related Jira issue.
  • Rejected Reason — Reason if the time entry was rejected.
  • Started At — Timestamp for when the time entry started.
  • Calendar Event ID — ID of the associated calendar event.

Output shape

a single record with the created time entry's data

The output contains the JSON response from Productive API representing the newly created time entry. Errors will result in exceptions unless 'continue on fail' is enabled, which returns error JSON instead.

Examples

Example 1: Creating a time entry with required service ID, person ID, and time in minutes, plus optional note and task ID.

Set 'Service ID', 'Person ID', and 'Time' fields. Optionally provide 'Note' and 'Task ID'. Run the node to insert the time entry into Productive.

Discussion