{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":11224,"path":"employee-service-management/hr-service-delivery/configure-integration-gateway.md","title":"Create a subflow using Template Integration Gateway","bundle":null,"doc_type":null,"release":"australia","body":"\n# Create a subflow using Template Integration Gateway\n\nUse the Template Integration Gateway as a reference to create the supported subflows for Integration Gateway.\n\n## Before you begin\n\nRole required: flow\\_designer, sn\\_hr\\_integr\\_fw.admin\n\n## Procedure\n\n1.  Navigate to **All** &gt; **Process Automation** &gt; **Workflow Studio**.\n\n2.  In **Subflows**, select Template Integration Gateway.\n\n3.  Create a copy of subflow, and provide a suitable name for the flow, click **Copy**.\n\n4.  Delete logs.\n\n5.  Add the logic and assign flow outputs:\n\n    |Field|Description|\n    |-----|-----------|\n    |Data|Result that is returned.|\n    |Provider|Name of the provider.|\n    |Status|Type of code number displayed when no results are returned. Code numbers vary based on scenario.|\n    |Message|Message associated with status.|\n\n\n## What to do next\n\n1.  Navigate to **All** &gt; **Process Automation** &gt; **Workflow Studio**.\n2.  In Subflows, select Integration Gateway.\n3.  Create an entry for the above created subflow. For more information, see [Configure Integration Provider Mapping \\(Decision table\\)](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/employee-service-management/hr-service-delivery/configure-integration-mapping.md).\n4.  Click **Test**.\n\n    1.  In Test Subflow, select User, Feature Name, Service Name, and Payload.\n    2.  Click **Run Test**.\n    Verify if the outputs or results generated are correct. Validate if the correct subflow has been run.\n\n\n"}}