asyncsubscribe({ credential, inputParams }) { // subscribe and return the `subscription` },
asyncunsubscribe({ credential, subscription }) { // `subscription.data` is whatever was returned from `subscribe()` above // unsubscribe from the webhook },
asynchandleEvent({ requestPayload }) { // `handleEvent` is called from Connector's `http` handler // via the `handleWebhookRequestJob()` function. return {}; }, });
Used to define a Connector Webhook Trigger.