ClickUp
To create tasks in ClickUp for Squadcast Incidents with the help of Outgoing Webhooks
Last updated
To create tasks in ClickUp for Squadcast Incidents with the help of Outgoing Webhooks
Last updated
Follow the below steps to configure the “ClickUp - Create Task” action via webhooks.
We will be utilizing ClickUp's Rest APIs to Create Task
ClickUp's APIs can be authenticated in different ways, check them out here. We will be using Personal Access Token (PAT) to authenticate their API
Login to your ClickUp account -> Go to Your Profile at the left bottom-> Apps -> Under API Token -> Generate
Copy the Token to Create Cards
You need Team ID and Space ID to get the List ID
Here we have used Postman to get those IDs
Open a new tab in Postman
Paste the below curl in the URL space -> Send
Copy the Space ID that you get as a response
Note:
Replace {team_id} with your team id (workspace id) in the URL. You can get the team ID on the browser URL. When you log in to your ClickUp account that number you see on your browser URL is the team ID
Under Headers -> Authorization: paste the API Key that you copied from the previous step
Open a new tab in Postman
Paste the below curl in the URL space -> Send
Copy the List ID that you get as a response
Note:
Replace {space_id} with your space id copied from the previous step.
Under Headers -> Authorization: paste the API Key that you copied from the previous step
Navigate to Settings -> Webhooks.
Click Add Webhook. On the next screen, you will be guided through three steps. Navigate between these steps by clicking on any of the steps on the top bar.
Add Webhook Details:
Webhook Name: Enter the webhook name as ClickUp - Create Task.
Webhook Description (optional): Enter an optional description. For example - This webhook is for task creation in ClickUP for Squadcast Incidents.
Failure Notification Email (optional): Enter an email where you want to receive failure notifications. This is particularly helpful when you (or an administrator) want to be notified of webhook-related failures.
URL: Copy and paste the below API and replace the {list_id} with your list id copied from the previous step
Additional Headers: Add Key: Authorization
and paste the API Key copied from the previous step
Note:
Under Additional headers, Content-Type: application/JSON is added by default.
Click Next: Choose Webhook Type, and navigate to the next step.
Choose Webhook Type: Choose Webhook type (Manual or Automatic) and add configurations.
Manual Webhook: Manually trigger Webhooks under incidents, on demand. Under Manual Webhook, select the teams that are authorized to access the Webhook. You can select All Teams or enter specific Teams, from the drop-down.
Note:
Select this option only if you want to create ClickUp tasks manually on-demand. If you want a ticket, created automatically when certain conditions are met, please choose Automatic webhooks.
Automatic Webhook: Automatically trigger Webhooks when the configured conditions match. To set up Automatic Webhook Configurations:
Versions: Select v2
Triggers: Select the following Trigger events (conditions) for which the Webhook will be triggered:
Incident Triggered (This will create a ClickUp task whenever a new incident gets triggered in Squadcast)
Filters: You can apply filters on top of events, based on Teams, Services, Alert Sources, and Tags, by having an individual expression or a combination of expressions/expression groups.
Applying filters will trigger the webhook and create ClickUp tasks only for events that match the filter.
Click Next: Configure Payload, and navigate to the next step.
Configure Payload: Select the pre-configured template for ClickUp - Create Task. You can also test the Webhook by clicking the Test Webhook on the bottom right.
Note:
We have added the necessary fields in the template. You can modify them according to your use case
You can also use this link to check the fields accepted by ClickUp API.
Click Save and your Webhook is created.
Have any questions? Ask the community.