Slash Command Task Creation for ClickUp - n8n Workflow

Use this powerful n8n workflow to instantly create ClickUp tasks directly from Slack slash commands. Integrate your team productivity using this essential n8n template for project management.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Project Managers who need rapid task intake from communication platforms.
Development teams looking for frictionless task logging directly from Slack.
n8n users seeking practical, productivity-focused n8n templates.
Automation Specialists aiming to connect Slack and ClickUp without middleware.

Overview

Manual entry of tasks from conversation platforms like Slack into project management tools like ClickUp is time-consuming and prone to delays. This elegant n8n workflow solves this by allowing users to define a custom Slack Slash Command (e.g., /newTask). When the command is executed, this n8n automation captures the task details and immediately creates a corresponding item in ClickUp.

This robust n8n workflow ensures high fidelity of data transfer, capturing the user's input text as both the task name and description, and providing instant feedback to the user in Slack once the task is successfully created. Utilizing the webhook as a reliable n8n trigger, this setup transforms your team's communication habits into actionable productivity steps.

How it Works

This n8n workflow operates in four clear, sequential steps after the initial n8n trigger is activated:


  1. Slack Command Activation: The process begins when a user executes a specific Slack slash command. This command is configured within Slack's API settings to send a POST request to the dedicated Webhook n8n trigger endpoint.

  2. Data Extraction (Set n8n node): The webhook receives a comprehensive JSON body from Slack. The subsequent Set n8n node is crucial for parsing this data, specifically extracting the task content from the body.text parameter, along with details like channelname and username.

  3. ClickUp Task Creation: The extracted task text is then passed to the ClickUp n8n node. This n8n node uses the input text to populate both the 'Name' and 'Content' (description) fields of a new task within a specified ClickUp list, space, and team.

  4. Confirmation and Response: Finally, the workflow executes the Respond to Webhook n8n node. This action sends a lightweight text response back to Slack, confirming to the user that the task has been created and returning the unique ID generated by the ClickUp n8n node. This immediate feedback loop is essential for a seamless user experience within this n8n workflow.

Installation Guide

To deploy and utilize this powerful n8n workflow, follow these setup steps:


  1. Import the n8n workflow: Copy the provided JSON code and import it directly into your n8n instance.

  2. Configure the Webhook n8n Trigger: Activate the 'Receives slack command' n8n node. Copy the unique URL generated by this n8n trigger. This URL will be used in your Slack application configuration.

  3. Setup Slack Slash Command: In your Slack App settings (api.slack.com/apps/), create a new Slash Command and paste the n8n Webhook URL as the request URL. Ensure the HTTP method matches the n8n trigger setup (POST).

  4. Configure ClickUp Credentials: In the 'Create new clickup task' n8n node, set up or select your ClickUp OAuth2 API credential. You must also specify the target Team, Space, and List IDs where the new tasks should be created. This ensures the n8n workflow targets the correct project location.

  5. Test the n8n Template: Run a test execution of the n8n workflow, then go to Slack and type your configured slash command followed by your task description. You should receive a confirmation response within Slack.

Node Details

This n8n workflow utilizes several key n8n nodes to achieve seamless integration:

Receives slack command (Webhook n8n trigger):
Function: Serves as the starting point and primary n8n trigger for the entire automation. It listens for incoming HTTP POST requests from the configured Slack Slash Command.
Key Configuration: HTTP Method is set to POST. Response Mode is set to Response Node (to enable feedback).

Set your nodes (Set n8n node):
Function: Extracts and standardizes necessary data fields from the raw Slack payload, making them easy to reference later in the n8n workflow. It extracts channelname, command, username, and the critical text field containing the task description.
Key Configuration: Assignments are created using expressions like ={{ $json.body.text }}.

Create new clickup task (ClickUp n8n node):
Function: Executes the core action of the n8n workflow by creating a new task in ClickUp. It dynamically pulls the task name and description from the data processed by the preceding Set n8n node.
Key Configuration: Task Name and Content are set dynamically using ={{ $json.text }}. Requires pre-configured OAuth2 credentials and specific List/Space IDs.

Respond to Webhook (RespondToWebhook n8n node):
Function: Sends immediate, concise feedback back to the originating Slack channel, confirming successful task creation and providing the newly created ClickUp ID.
Key Configuration: Response Body is set to Task Created: ID {{ $json.id }}, utilizing the output data from the ClickUp n8n node.

Related n8n Workflows

Free

Nodes: 5 Nodes
Updated: December 26 2025
View all
Created by

Automation expert with years of experience helping businesses improve their efficiency and productivity with smart automations that are affordable, scalable, and flexible.

Featured*