I would like to extend it with the functionality of creating a RabbitMQ queue when the node starts. I found that webhooks have checkExists, create & delete methods which is exactly what I need. How is it possible to get those methods working also for ITriggerFunctions? Or is there any way to define a method in the node that is executed on workflow activation or deactivation?
Thank you.
Information on your n8n setup
n8n version: 0.171.0
Database you’re using (default: SQLite): SQLite
Running n8n with the execution process [own(default), main]: main
Running n8n via [Docker, npm, n8n.cloud, desktop app]: npm
Or is there any way to define a method in the node that is executed on workflow activation or deactivation?
Yes, this exists. You can check out some of the other existing trigger nodes, quite a few of them will try registering a webhook when the workflow is activated. For example the Webflow node:
Hello @MutedJam, thank you for your quick response.
Yes, I’ve seen a lot of examples with the webhook implementation but for some reason when I try the exact same thing with the trigger function implementation, it doesn’t work.