Call a webhook with record ids


description: >- This example shows how to call a third party webhook/automation tool like n8n, make or zapier…


Call a n8n webhook

You need to declare the new action with its scope in the users.js model

forest/users.js
// forest/users.js
const Liana = require('forest-express-sequelize');

Liana.collection('users', {
  actions: [
    {
      name: 'Notify with slack',
      type: 'single',
    },
  ],
});

Then implement the action as needed in the route route action:

Last updated

Was this helpful?