Step 2: Using Function Hooks

Function hooks enable developers to trigger functions in response to account and profile events and can also be accessed via the Webhooks UI.

In order to invoke a function, you must first create a Function in your account. Visit the Get Started with Yext Functions guide for steps.

To create a Function Hook:

  1. Click Developer Console.
  2. Create an App, or click into an existing app.
  3. Click on the Webhooks tab.
  4. Click + Add a Webhook.
  5. Select the Webhook Type.
  6. Enter the webhook details.
  7. Click on the … or invoke a function link. Invoke Function link
  8. Click on the Select a Function drop-down and select the function you’d like to invoke.
  9. Click Finish and Add.
Feedback