---
sourceDocument: Australia Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/integrate-applications

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Automate and customize Slack tasks

# Automate and customize Slack tasks {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Automate and Customize Slack Tasks

This guide outlines how to automate and customize tasks in Slack using ServiceNow.
By setting up specific commands and actions, you can streamline processes such as incident creation and message handling directly from Slack, enhancing efficiency and responsiveness in your operations.
Show full answer Show less  

## Key Features

* **Automate Slack Commands:** Configure commands like /now create incident, /now list incidents, and /now help to execute specific tasks in ServiceNow.
* **Message Actions:** Enable shortcuts on messages to trigger actions, such as creating incident records via configured subflows.
* **Approval Messages:** Automate posting approval messages in Slack channels, allowing for efficient communication of task statuses.
* **Request Assignment:** Assign requests based on acknowledgment through automated subflows, ensuring tasks are managed effectively.
* **Actionable Messages:** Post messages with actionable buttons like Accept and Reject to facilitate quick responses to tasks.

## Key Outcomes

Implementing these automations will help ServiceNow customers:

* Enhance task management by executing commands directly from Slack.
* Improve communication flow with real-time updates and acknowledgments.
* Streamline incident handling and assignment processes, reducing response times.
* Customize and adapt workflows to meet specific organizational needs efficiently.  
Automate Slack tasks as per your requirement, using the sample these scenarios as a
reference.
You can use the default outbound configurations, inbound decisions, and subflows as
reference to customize tasks as per your requirement.  

## Automate Slack commands

Perform these steps to automate events such as, create incident records, based on the Slack commands:

1. Configure the Slack commands on the Slash Commands page of your custom application. For more information, see [Configure Slack app](https://www.servicenow.com/docs/OQ8fN7gD62pjLFw1zXlXKw "Create a custom OAuth application on your Slack workspace to enable OAuth 2.0 authentication with the Slack spoke.").
2. In Workflow Studio, create a subflow configure to create the incident records as per your requirement or create a copy of the default subflow, Respond to Slack Command, and configure it.  
   Note:  
   Create an action and use the payload in the subflow input as per your requirement.
3. [Configure inbound decisions in ServiceNow instance](https://www.servicenow.com/docs/br~3cG2h9TuAlc7NXc4nRw "Specify events in your Slack spoke application for which actions must be performed in ServiceNow instance.").
   1. In the Condition, ensure that you specify the value of command as <kbd class="ph userinput">/now</kbd> and specify the required parameters.  
      Note:  
      You can specify up to 2 parameters in your condition to trigger the required subflow.
   2. In Answer, select the subflow you had configured.
   {#samples-slack__ol_inc_csp_gnb}
{#samples-slack__ol_pjx_5np_gnb}  
When a Slack user enters the command, <kbd class="ph userinput">/now create incident &lt;text&gt;</kbd>, the condition specified in inbound decision is met and the associated subflow is triggered. Similarly, you can customize subflows and inbound decisions to configure more Slack commands such as:

* <kbd class="ph userinput">/now list incidents</kbd> to list all active incidents assigned to the logged in user.
* <kbd class="ph userinput">/now help</kbd> to display all available commands and their describe usage.
* <kbd class="ph userinput">/now note [note]</kbd> to add notes to the required incident.
* <kbd class="ph userinput">/now create incident [short description] &gt; [optional: urgency] &gt; [optional: impact]</kbd> to create an incident with specified short description, urgency, and impact. For example, <kbd class="ph userinput">/now create incident Email is not working &gt; 3 &gt; 2</kbd>.
{#samples-slack__ul_yzd_wnp_gnb}  

## Automate message actions

1. In your Slack custom application, create a shortcut that appears on messages and enter the value, <kbd class="ph userinput">post_message_now</kbd> for Callback ID. For more information, see [Configure Slack app](https://www.servicenow.com/docs/OQ8fN7gD62pjLFw1zXlXKw "Create a custom OAuth application on your Slack workspace to enable OAuth 2.0 authentication with the Slack spoke.").
2. In Workflow Studio, create a subflow configure to create the incident records as per your requirement or create a copy of the default subflow, Respond to Slack Message Action, and configure it.  
   Note:  
   Create an action and use the payload in the subflow input as per your requirement.
3. [Configure inbound decisions in ServiceNow instance](https://www.servicenow.com/docs/br~3cG2h9TuAlc7NXc4nRw "Specify events in your Slack spoke application for which actions must be performed in ServiceNow instance.").
   1. In the Condition, ensure that you specify the value of callback_id as <kbd class="ph userinput">post_message_now</kbd> and specify the required parameters.
   2. In Answer, select the subflow you had configured.
   {#samples-slack__ol_znz_xrp_gnb}
{#samples-slack__ol_mgz_jqp_gnb}  

## Post an approval message

Perform these steps to automate posting an approval message on a Slack channel.

1. In Workflow Studio, create a copy of the default subflow, Respond to Slack Approval Action, and configure it as per your requirement.  
   Note:  
   Create an action and use the payload in the subflow input as per your requirement.
2. [Configure outbound configurations in ServiceNow instance](https://www.servicenow.com/docs/01VVy5_5pUgR0pBWx6shEg "Specify events in ServiceNow instance for which actions must be performed on your Slack spoke application.")
   1. Open the default outbound configuration, Approval Message.
   2. In Action ID , specify the unique identifier for automating the task of posting an acknowledgement message. For example, value of Action ID can be <kbd class="ph userinput">approval_request</kbd>.
   {#samples-slack__ol_ugx_pz4_gnb}
3. [Configure inbound decisions in ServiceNow instance](https://www.servicenow.com/docs/br~3cG2h9TuAlc7NXc4nRw "Specify events in your Slack spoke application for which actions must be performed in ServiceNow instance.").
   1. In the Condition, ensure that you specify the value of Action ID as <kbd class="ph userinput">approval_request</kbd>. You can specify other conditions as per your requirement.
   2. In Answer, select the subflow you had configured.
   {#samples-slack__ol_sjr_jsp_gnb}
{#samples-slack__ol_yyg_vs4_gnb}

When the Slack events match the relevant the action ID, the associated subflow, that is,
the Respond to Slack Approval Action subflow is triggered. This subflow contains the
logic to update the required record and send the relevant acknowledgement message on
Slack channel.  

## Assign request based on acknowledgement

Perform these steps to automate assigning request:

1. In Workflow Studio, create a copy of the default subflow, On-Call Assign by Acknowledgement, and configure it as per your requirement.  
   Note:  
   Create an action and use the payload in the subflow input as per your requirement.
2. [Configure outbound configurations in ServiceNow instance](https://www.servicenow.com/docs/01VVy5_5pUgR0pBWx6shEg "Specify events in ServiceNow instance for which actions must be performed on your Slack spoke application.").
   1. Open the default outbound configuration, On Call: Assign by Acknowledgement.
   2. In Action ID , specify the unique identifier for automating the task of posting an acknowledgement message. For example, value of Action ID can be <kbd class="ph userinput">on_call_assign_by_acknowledgement</kbd>.
   {#samples-slack__ol_ymb_kbp_gnb}
3. [Configure inbound decisions in ServiceNow instance](https://www.servicenow.com/docs/br~3cG2h9TuAlc7NXc4nRw "Specify events in your Slack spoke application for which actions must be performed in ServiceNow instance.").
   1. In the Condition, ensure that you specify the value of Action ID as <kbd class="ph userinput">on_call_assign_by_acknowledgement</kbd>. You can specify other conditions as per your requirement.
   2. In Answer, select the subflow you had configured.
   {#samples-slack__ol_cmx_lsp_gnb}
{#samples-slack__ol_xmb_kbp_gnb}  

## Post an actionable message

Perform these steps to automate posting an actionable message:

1. [Configure outbound configurations in ServiceNow instance](https://www.servicenow.com/docs/01VVy5_5pUgR0pBWx6shEg "Specify events in ServiceNow instance for which actions must be performed on your Slack spoke application.").
   1. Open the default outbound configuration, On Call: Assign by Acknowledgement.
   2. Select Target Table and Fields as per your requirement. For example, short_description and priority from the Task \[task\] table.
   3. Select Buttons as per your requirement. For example, <kbd class="ph userinput">Accept</kbd> and <kbd class="ph userinput">Reject</kbd>.
   4. In Action ID , specify the unique identifier for automating the task of posting an acknowledgement message. For example, value of Action ID can be <kbd class="ph userinput">on_call_assign_by_acknowledgement</kbd>.
   {#samples-slack__ol_hyp_fcp_gnb}
2. In Workflow Studio, create a copy of the default subflow, Post Actionable Message, and configure it as per your requirement.  
   Note:  
   Create an action and use the payload in the subflow input as per your requirement.
   1. In the Record Sys_ID input, provide the sys ID of the required record. For example, specify the sys ID of the task record.
   2. In the Template input, select template you had created in the outbound configurations.
   {#samples-slack__ol_kxv_qdp_gnb}
3. [Configure inbound decisions in ServiceNow instance](https://www.servicenow.com/docs/br~3cG2h9TuAlc7NXc4nRw "Specify events in your Slack spoke application for which actions must be performed in ServiceNow instance.").
   1. In the Condition, ensure that you specify the value of Action ID as <kbd class="ph userinput">on_call_assign_by_acknowledgement</kbd>. You can specify other conditions as per your requirement.
   2. In Answer, select the subflow you had configured.
   {#samples-slack__ol_hl3_nsp_gnb}
{#samples-slack__ol_gyp_fcp_gnb}

