Flow Designer

Low-code outbound REST integration

Last modified 2026-03-16

Jace Benson

Table of content
  1. Cost Warning
  2. Setup Steps
  3. Example Configuration
  4. Parsing Response
  5. Resources

ServiceNow Community - REST in Flow Designer

Flow Designer provides a low-code way to make outbound REST calls without writing scripts.

Cost Warning

⚠️ Uses Integration Hub transactions - check your licensing.

Setup Steps

  1. Create Connection & Credential Alias (type: Credential)
  2. Add credentials to the alias (Basic Auth, OAuth, etc.)
  3. Flow Designer → Action → Add Step → REST
  4. Configure:
    • Connection Alias
    • Base URL
    • Resource Path
    • HTTP Method
    • Headers
    • Request Content

Example Configuration

Base URL: https://<instance>.service-now.com
Resource Path: /api/now/table/incident
Method: POST
Headers: Accept: application/json
Request Body: {"short_description":"From Flow Designer"}

Parsing Response

Add a Script step to parse the REST response:

(function execute(inputs, outputs) {
    var responseBody = JSON.parse(inputs.response);
    
    if (inputs.status != 201) {
        var errorMsg = responseBody.error.message;
        throw "Error: " + errorMsg;
    }
    
    outputs.number = responseBody.result.number;
    outputs.short_description = responseBody.result.short_description;
})(inputs, outputs);

Resources