Creating a custom node trigger

Hi everyone,

I recently built a custom node for the Ikas platform and I’m still improving it.

Now I’d like to add triggers (webhooks), similar to the Shopify triggers (e.g. on order created).

I couldn’t find anything about this in the documentation.

Can anyone point me in the right direction?

hello @actuallyzefe

You can get an example from the code. E.g. google drive trigger node:

n8n/packages/nodes-base/nodes/Google/Drive/GoogleDriveTrigger.node.ts at master · n8n-io/n8n

I figured it out thanks

I analyzed existing trigger nodes like Shopify triggers in the n8n codebase.