This workflow automates ClickUp CRUD operations (create, update, read, delete) for folders, goals, and key results using the ClickUp API. Key nodes include Manual Trigger (starts workflow), Input Validation (sets operation_type, team_id, space_id, test_name), Validate Input (ensures valid operation_type and team_id length ≥3), Route Operations (directs to folder, goal, or key result tasks), Create/Update/GetAll/Get/Delete Folder (manages folders), Create Goal (creates goals), Create Key Result (creates key results), Wait 800ms (avoids rate limits), Format Folder/Goal/Key Result Success (returns results), and Format Validation Error (handles invalid inputs). It integrates with ClickUp’s API for project management.\n\nSetup Requirements and Configuration: Install n8n from n8n.io for self-hosting or sign up at cloud.n8n.io for cloud setup. Follow installation prompts or create a cloud account. Obtain a ClickUp API key from app.clickup.com: go to Settings > Apps > Generate API Token. In n8n, import the JSON workflow. Configure all ClickUp nodes (Create Folder, Update Folder, Get All Folders, Get Folder, Delete Folder, Create Goal, Create Key Result) with your API key under ‘Credentials’ > ‘ClickUp API.’ Replace Manual Trigger with a Webhook Trigger: set path to ‘clickup-crud,’ configure for POST requests, and optionally add header authentication with a secure key. Ensure sufficient server resources are allocated for API calls. Testing and Deployment Steps: Test via Postman with a POST request to the Webhook URL. Example JSON: {'operation_type': 'folder_operations', 'team_id': '4651110', 'space_id': '8716115', 'test_name': 'TestItem'} with authentication header if set. Alternatively, use Manual Trigger. ‘Format Folder Success’ returns a 200 status with operations_completed (e.g., folder CRUD), team_id, space_id; ‘Format Goal Success’ or ‘Format Key Result Success’ returns goal_id or key_result_id; or ‘Format Validation Error’ (400 status) for invalid operation_type or team_id. Check logs for errors like ‘Invalid API token’ or ‘Rate limit exceeded,’ and verify credentials or input parameters. Activate workflow in n8n. Validate output to ensure operations match operation_type and IDs are returned.
$6.99
Workflow steps: 19
Integrated apps: manualTrigger, set, if