---
sourceDocument: Australia Build workflows
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/build-workflows

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Build workflows

ft:clusterId :

    - crworkflow

bundleId :

    - crworkflow

workflow :

    - Creator


---

# Create code snippets for flows, subflows, and actions

# Create code snippets for flows, subflows, and actions {#ariaid-title1}

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

Generate a code snippet to call a specific flow, subflow or action.

## Before you begin

* Activate the flow or subflow you want to call.
* Publish the action you want to call.

{#flow-design-code-snippet__ul_gk2_m2z_1fb}

Role required: flow_designer or admin

## Procedure

1. Navigate to AllProcess AutomationFlow Designer.
2. Open a flow, subflow, or action.
3. Click the More Actions icon in the upper right corner of the flow designer.
4. Select Create Code Snippet.  
   The code snippet appears in a new window and is selected by default.
5. Copy the code by manually copying it from the pop-up modal or clicking the Copy Code Snippet Clipboard button.

## What to do next

Edit the script to add any mandatory values, such as inputs.

*[\>]: and then


