JSON Example

A workflow created in Workflow Builder can be exported as a JSON object, which fully describes its structure, steps, and configuration. This JSON file provides a standardized format for saving, editing, and re-importing workflows into your system or database, enabling easy management and automation of business processes

{
  "name": "Call flow",
  "layoutDirection": "DOWN",
  "diagram": {
    "nodes": [
      {
        "id": "a954a959-9bc1-4f6e-bd9f-35807a220c0b",
        "type": "node",
        "position": {
          "x": 1137,
          "y": 12
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "Incoming Call",
            "description": "Trigger",
            "dataSource": "Time-based Trigger"
          },
          "type": "trigger",
          "icon": "Lightning"
        },
        "selected": false,
        "measured": {
          "width": 259,
          "height": 63
        }
      },
      {
        "id": "6e4c57e4-4136-4aa4-a183-43679b1f7170",
        "type": "node",
        "position": {
          "x": 1137,
          "y": 182
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "Is the Call Answered?",
            "description": "Conditional",
            "title": "Conditional",
            "subtitle": "Branch the workflow"
          },
          "type": "conditional",
          "icon": "ListChecks"
        },
        "selected": true,
        "measured": {
          "width": 259,
          "height": 63
        }
      },
      {
        "id": "a845d12e-0852-4809-96ce-334159e100fe",
        "type": "node",
        "position": {
          "x": 1362,
          "y": 373
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "Greeting",
            "description": "Action",
            "title": "Send E-mail",
            "subtitle": "Send E-mail Action"
          },
          "type": "action",
          "icon": "PlayCircle"
        },
        "selected": false,
        "measured": {
          "width": 259,
          "height": 63
        }
      },
      {
        "id": "65706043-b1d2-4600-b918-3b82ff5dfc13",
        "type": "node",
        "position": {
          "x": 912,
          "y": 373
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "Leave Voicemail",
            "description": "Action",
            "title": "Send E-mail",
            "subtitle": "Send E-mail Action"
          },
          "type": "action",
          "icon": "PlayCircle"
        },
        "selected": false,
        "measured": {
          "width": 259,
          "height": 63
        }
      },
      {
        "id": "c187ef68-0fb8-47da-9a62-310afe91bfaa",
        "type": "node",
        "position": {
          "x": 1362,
          "y": 543
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "Is it a new Customer?",
            "description": "Conditional",
            "title": "Conditional",
            "subtitle": "Branch the workflow"
          },
          "type": "conditional",
          "icon": "ListChecks"
        },
        "selected": false,
        "measured": {
          "width": 259,
          "height": 63
        }
      },
      {
        "id": "b2a4b7a7-1900-4218-aea4-902de2e4eb51",
        "type": "node",
        "position": {
          "x": 912,
          "y": 543
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "End Workflow",
            "description": "Action",
            "title": "Send E-mail",
            "subtitle": "Send E-mail Action"
          },
          "type": "action",
          "icon": "PlayCircle"
        },
        "selected": false,
        "measured": {
          "width": 259,
          "height": 63
        }
      },
      {
        "id": "09c67367-8d0d-44ae-bf4e-66b36f5c389f",
        "type": "node",
        "position": {
          "x": 912,
          "y": 734
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "Transfer to Sales",
            "description": "Action",
            "title": "Send E-mail",
            "subtitle": "Send E-mail Action"
          },
          "type": "action",
          "icon": "PlayCircle"
        },
        "selected": false,
        "measured": {
          "width": 259,
          "height": 63
        }
      },
      {
        "id": "b01ced25-ca06-47c7-a14f-21e5a0200a61",
        "type": "node",
        "position": {
          "x": 1362,
          "y": 734
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "Technical Suppport or Billing?",
            "description": "Conditional",
            "title": "Conditional",
            "subtitle": "Branch the workflow"
          },
          "type": "conditional",
          "icon": "ListChecks"
        },
        "selected": false,
        "measured": {
          "width": 259,
          "height": 63
        },
        "dragging": false
      },
      {
        "id": "f1d785cc-1715-4b27-97e4-59347f08e660",
        "type": "node",
        "position": {
          "x": 687,
          "y": 925
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "Is Sales Available?",
            "description": "Conditional",
            "title": "Conditional",
            "subtitle": "Branch the workflow"
          },
          "type": "conditional",
          "icon": "ListChecks"
        },
        "selected": false,
        "measured": {
          "width": 259,
          "height": 63
        }
      },
      {
        "id": "6c3fca17-a1d4-4008-8a72-605d91eb7fd6",
        "type": "node",
        "position": {
          "x": 1137,
          "y": 925
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "Conditional",
            "description": "Branch the workflow",
            "title": "Conditional",
            "subtitle": "Branch the workflow"
          },
          "type": "conditional",
          "icon": "ListChecks"
        },
        "selected": false,
        "measured": {
          "width": 259,
          "height": 63
        }
      },
      {
        "id": "6c0ecb78-cd09-4728-8dc7-414ab1c42ea2",
        "type": "node",
        "position": {
          "x": 1587,
          "y": 925
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "Conditional",
            "description": "Branch the workflow",
            "title": "Conditional",
            "subtitle": "Branch the workflow"
          },
          "type": "conditional",
          "icon": "ListChecks"
        },
        "selected": false,
        "measured": {
          "width": 259,
          "height": 63
        },
        "dragging": false
      },
      {
        "id": "18562830-da0b-443e-a859-79cb95473f59",
        "type": "node",
        "position": {
          "x": 462,
          "y": 1136
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "Leave Voicemail",
            "description": "Action",
            "title": "Send E-mail",
            "subtitle": "Send E-mail Action"
          },
          "type": "action",
          "icon": "PlayCircle"
        },
        "selected": false,
        "measured": {
          "width": 259,
          "height": 63
        }
      },
      {
        "id": "bc34e3ae-6dd2-4543-8efe-190863df49e6",
        "type": "node",
        "position": {
          "x": 1362,
          "y": 1136
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "Leave Voicemail",
            "description": "Action",
            "title": "Send E-mail",
            "subtitle": "Send E-mail Action"
          },
          "type": "action",
          "icon": "PlayCircle"
        },
        "selected": false,
        "measured": {
          "width": 259,
          "height": 63
        },
        "dragging": false
      },
      {
        "id": "6ab2c9e2-7e1e-4061-83ea-83a88aa246eb",
        "type": "node",
        "position": {
          "x": 12,
          "y": 1136
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "Connect to Sales",
            "description": "Action",
            "title": "Send E-mail",
            "subtitle": "Send E-mail Action"
          },
          "type": "action",
          "icon": "PlayCircle"
        },
        "selected": false,
        "measured": {
          "width": 259,
          "height": 63
        },
        "dragging": false
      },
      {
        "id": "feb863db-de51-4aee-8746-f9e02d993cb7",
        "type": "node",
        "position": {
          "x": 912,
          "y": 1136
        },
        "data": {
          "segments": [],
          "properties": {
            "label": "Connect to Support",
            "description": "Action",
            "title": "Send E-mail",
            "subtitle": "Send E-mail Action"
          },
          "type": "action",
        ...

Last updated