{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":21183,"path":"integrate-applications/integration-hub/customize-a-bi-directional-webhook-for-google-directory.md","title":"Set up a bi-directional webhook for the Google Directory spoke","bundle":null,"doc_type":null,"release":"australia","body":"\n# Set up a bi-directional webhook for the Google Directory spoke\n\nCreate a webhook routing policy and subflow according to your requirement.\n\n## Before you begin\n\nRole required: admin\n\n## About this task\n\nThe default routing policy in the Google Directory WebHook Routing Policies module triggers the Process Google Directory User Webhook Subflow and notifies the ServiceNow app when certain events occur in the Google Directory. To use any other fields in your custom subflow and customize conditions in the routing policy, perform these steps.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **Flow Designer**.\n\n2.  Select Subflows.\n\n3.  In the name field, enter `Process Google Directory User Webhook Subflow` and press **Enter**.\n\n4.  Select the subflow.\n\n5.  On the Process Google Directory User Webhook Subflow page, select the More Actions Menu icon \\(\\[Omitted image \"flow-copy-icon.png\"\\] Alt text: More Actions Menu icon.\\).\n\n6.  Select **Copy Subflow**.\n\n7.  Customize the subflow according to your requirement and publish it.\n\n8.  In the filter field, enter `Google Directory Webhook Routing Policies`.\n\n9.  Select **New**.\n\n10. Fill the form.\n\n    |Field|Description|\n    |-----|-----------|\n    |Label|A unique label to identify the routing policy.|\n    |Application|The application is set to Global.|\n    |Order|The order in which the request is processed.|\n    |Answer|Subflow that must be triggered when the specified conditions are met.|\n    |Default answer|Option to specify if the answer is the default answer.|\n    |Condition|Conditions to be met when the required events occur in the Google Directory.|\n\n11. Select **Submit**.\n\n\n"}}