n8n Workflow

Manage Projects In Clockify

This n8n workflow automates tasks using Clockify. Manage Projects In Clockify - ready to import and run in your n8n instance.

n8n workflow.json

About This Script

This n8n workflow automates tasks using Clockify. Manage Projects In Clockify - ready to import and run in your n8n instance.
Features:
  • Conditional logic and branching
  • Integrates with Clockify
Source Code
{
    "nodes": [
        {
            "name": "On clicking 'execute'",
            "type": "n8n-nodes-base.manualTrigger",
            "position": [
                250,
                300
            ],
            "parameters": [],
            "typeVersion": 1,
            "id": "e140302a-6632-4e82-904b-261c8cd3dcaa"
        },
        {
            "name": "Clockify",
            "type": "n8n-nodes-base.clockify",
            "position": [
                450,
                300
            ],
            "parameters": {
                "name": "n8n-docs",
                "workspaceId": "5f7af249d33ce12a712306dd",
                "additionalFields": {
                    "note": "For n8n-docs",
                    "color": "#0000FF",
                    "isPublic": false
                }
            },
            "credentials": {
                "clockifyApi": "clockify-burner"
            },
            "typeVersion": 1,
            "id": "dd459e78-0ee2-4f1f-9daa-30e4c68c218d"
        },
        {
            "name": "Clockify1",
            "type": "n8n-nodes-base.clockify",
            "position": [
                650,
                300
            ],
            "parameters": {
                "name": "docs",
                "resource": "tag",
                "workspaceId": "5f7af249d33ce12a712306dd"
            },
            "credentials": {
                "clockifyApi": "clockify-burner"
            },
            "typeVersion": 1,
            "id": "27a95320-cdaa-4d3e-998e-3ec9f5489ce1"
        },
        {
            "name": "Clockify2",
            "type": "n8n-nodes-base.clockify",
            "position": [
                850,
                300
            ],
            "parameters": {
                "start": "2020-10-05T08:30:00.000Z",
                "resource": "timeEntry",
                "workspaceId": "5f7af249d33ce12a712306dd",
                "additionalFields": {
                    "end": "2020-10-05T09:30:00.000Z",
                    "tagIds": [
                        "5f7afbfc73610f56b88ee9ef"
                    ],
                    "description": "Added Clockify Docs"
                }
            },
            "credentials": {
                "clockifyApi": "clockify-burner"
            },
            "typeVersion": 1,
            "id": "dfe0b43c-96cb-4ae5-986e-04297f66b037"
        },
        {
            "name": "Clockify3",
            "type": "n8n-nodes-base.clockify",
            "position": [
                1050,
                300
            ],
            "parameters": {
                "resource": "timeEntry",
                "operation": "update",
                "timeEntryId": "={{$node[\"Clockify2\"].json[\"id\"]}}",
                "workspaceId": "5f7af249d33ce12a712306dd",
                "updateFields": {
                    "projectId": "={{$node[\"Clockify\"].json[\"id\"]}}"
                }
            },
            "credentials": {
                "clockifyApi": "clockify-burner"
            },
            "typeVersion": 1,
            "id": "ed49c679-24a7-4afb-a8cc-8f7b3582b31e"
        }
    ],
    "connections": {
        "Clockify": {
            "main": [
                [
                    {
                        "node": "Clockify1",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Clockify1": {
            "main": [
                [
                    {
                        "node": "Clockify2",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Clockify2": {
            "main": [
                [
                    {
                        "node": "Clockify3",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "On clicking 'execute'": {
            "main": [
                [
                    {
                        "node": "Clockify",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    },
    "n8n_version": "1.5.0"
}
Requirements
n8n instance, Clockify API credentials
Tags
#n8n #automation #workflow
Quick Actions
More in n8n Workflows