---
sourceDocument: Australia Security Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/security-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Security Management

ft:clusterId :

    - security

bundleId :

    - security

workflow :

    - Technology


---

# Create Session Flow Action

# Create Session Flow Action {#ariaid-title1}

* Release version: Australia
* 
* Updated March 12, 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

The Create Session flow action establishes a Carbon Black session to use in the flow.
The Create Session flow action can be used with any flow to create a Carbon Black session within the flow.

## Results

Possible results for this flow action are:
{#create-session-activity__table_lg3_dm5_vy__entry__2}

| Result | Description |
|-|-|
| Success | Session created. |
| Failure | Session not created. More error information is available in the flow action output error. |
[Table 1. Results]

{#create-session-activity__table_lg3_dm5_vy}

## Input variables {#create-session-activity__section_x3s_v2m_3z}

Input variables determine the initial behavior of the flow action.
{#create-session-activity__table_pgm_tfy_jr__entry__2}

| Variable | Description |
|-|-|
| api_token | Carbon Black API key. |
| endpoint_base | Base URL of the Carbon Black API. |
| sensor_id | Sensor identifier. |
| use_mid_server | Determines whether the REST activity uses the MID server to interact with Carbon Black or not. |
[ ]

{#create-session-activity__table_pgm_tfy_jr}

## Output variables

The output variables contain data that can be used in subsequent activities.
{#create-session-activity__table_bnj_jfy_jr__entry__2}

| Variable | Description |
|-|-|
| status_code | Determines if the request was successful. If not, displays an HTTP error code and message. |
| output | API variables |
[Table 2. Output variables]

{#create-session-activity__table_bnj_jfy_jr}

