Webhook Function - Any Limitations?

I’m hoping to update data in Zoho when an entity in Yext is updated, and hoping to use a Yext webhook to do this. I believe the Yext webhook can be configured to call a function, which would hit the Zoho API. The Zoho API uses OAuth, so there would need to be 2 calls, one to get an auth token and the other to update the data. Should this be possible? Are there any limitations that would apply (ex: time out…)?

You can make multiple fetch calls, the main limitation is that there’s a 30s timeout that applies to plugin execution in all contexts (webhooks, connectors, pages generation, etc.). There is also a memory limit that you can specify in the schema for your plugin and can range from 1MB to 1000MB.

Depending on the context there are some creative workarounds if you need to do more than 30 seconds of work. A webhook for example can potentially do a portion of the work, store a flag of the progress it made on the entity, which re-triggers the webhook, and it can pick up where it left off. Another option is to use the webhook to trigger a push connector which is more flexible in the type of things it can do.