This workflow automates Rundeck job operations, enabling execution and metadata retrieval via a webhook, simplifying task scheduling for DevOps teams. It replaces manual Rundeck UI interactions by processing POST requests to execute jobs, fetch metadata, or both, with input validation and error handling. Key nodes include Webhook for request intake, Set and IF for input validation, Rundeck for job execution and metadata retrieval, Function for result processing, and Respond To Webhook for JSON responses. It benefits small to mid-size DevOps teams (10-100 employees) managing 50+ daily job executions, reducing manual operation time from 5-10 minutes to seconds per job, ensuring consistent automation for tasks like server maintenance or deployments.\n\nThe ROI saves 4-6 hours weekly for teams handling 100+ job executions, improving operational efficiency. Use cases include automating server restarts, running backup scripts, or fetching job status for monitoring. Requirements: Rundeck instance (free open-source or Enterprise, ~$20/user/month), n8n instance (free or cloud.n8n.io, ~$20/month), Rundeck API token. Scalability supports hundreds of jobs; limited by Rundeck API rate limits (~1,000 requests/hour).\n\nInstall n8n from n8n.io or cloud.n8n.io. Obtain Rundeck API token from user settings (Rundeck UI > Profile). Configure n8n credentials: Rundeck API (token, server URL, e.g., http://rundeck.yourdomain.com). Set nodes: Webhook (POST, path: 'rundeck-operations'), Set (validate job_id, operation), Rundeck (job execution/metadata). Expose webhook via ngrok for external access.\n\nTest with POST requests (e.g., {jobId: 'uuid', operation: 'execute_and_get_metadata', arguments: {}, waitForCompletion: true}) using Postman; verify execution details and metadata in response. Common errors: Invalid job ID (400—check UUID format), API token issues (401—regenerate token), job failure (502—verify job configuration). Deploy by activating workflow and sharing webhook URL. Maintenance: Monitor logs, rotate API tokens periodically. Optimize by adding retry logic for failed jobs or caching metadata for frequent queries.", "businessValue": "Saves 4-6 hours/week automating 100+ Rundeck job executions for DevOps", "setupTime": "20-30 minutes", "difficulty": "Intermediate", "requirements": ["Rundeck instance with API token", "n8n installation, webhook and API knowledge"], "useCase": "Automating job execution and monitoring for server management or deployments"
$5.49
Workflow steps: 11
Integrated apps: webhook, set, if