Automate Syncro Status Updates with Clockify
detail.loadingPreview
Streamline your project management by automatically updating Clockify project statuses based on Syncro ticket changes. This workflow ensures your time tracking accurately reflects your service ticket progress.
About This Workflow
This n8n workflow automates the synchronization between Syncro ticket statuses and Clockify project archiving. When a Syncro ticket's status changes, the workflow triggers a check. If the ticket is no longer 'Resolved', it fetches existing Clockify projects matching the ticket's details and updates their archived status. Specifically, it unarchives projects to reflect ongoing work or active tickets. Conversely, if a ticket is marked as 'Resolved', it archives the corresponding Clockify project, indicating completion and tidying up your project list. This ensures a clear and up-to-date view of your project time tracking, directly tied to your service ticket lifecycle.
Key Features
- Real-time Syncro to Clockify Updates: Automatically update Clockify project archives based on Syncro ticket status changes.
- Conditional Archiving/Unarchiving: Intelligently archives projects when tickets are resolved and unarchives them when they become active again.
- Dynamic Project Naming: Creates Clockify projects with descriptive names that include Syncro ticket number, customer, and ID.
- Two-Way Status Reflection: Ensures your Clockify projects accurately mirror the active or resolved state of your Syncro tickets.
How To Use
- Set up the Webhook Node: Configure the n8n Webhook node to listen for incoming requests from Syncro. Use the provided webhook URL in your Syncro automation settings to trigger this workflow on ticket status changes.
- Configure the Initial IF Node: Set up the IF node to check the status of the incoming Syncro ticket. Ensure it correctly identifies when a ticket is NOT 'Resolved'.
- Set up the First Clockify Node (for Unarchiving): If the ticket is not resolved, connect the IF node to the first Clockify node. Configure this node to 'getAll' projects and set the
archivedparameter totrueinadditionalFieldsto find potentially archived projects. - Set up the First HTTP Request Node (for Unarchiving): Connect the first Clockify node to the first HTTP Request node. Configure this node to make a
PUTrequest to the Clockify API (https://api.clockify.me/api/v1/workspaces/{{$node["Clockify"].parameter["workspaceId"]}}/projects/{{$json["id"]}}) with thearchivedparameter set tofalsein the body to unarchive the project. - Set up the Second Clockify Node (for Archiving): If the ticket IS resolved (the false path from the IF node), connect it to the second Clockify node. Configure this node to 'getAll' projects and set the
archivedparameter tofalseinadditionalFieldsto find projects that might still be active. - Set up the Second HTTP Request Node (for Archiving): Connect the second Clockify node to the second HTTP Request node. Configure this node to make a
PUTrequest to the Clockify API (https://api.clockify.me/api/v1/workspaces/{{$node["Clockify1"].parameter["workspaceId"]}}/projects/{{$json["id"]}}) with thearchivedparameter set totruein the body to archive the project. - Credentials: Ensure you have set up and connected your 'Clockify' and 'Clockify API' credentials in n8n for both Clockify nodes and their subsequent HTTP Request nodes.
Apps Used
Workflow JSON
{
"id": "08f04843-4564-4e39-b94b-445590fc4349",
"name": "Automate Syncro Status Updates with Clockify",
"nodes": 5,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 08f04843-4564...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Related Workflows
Discover more workflows you might like
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.