I’m trying to set up a Smart actions following the doc but it doesn’t work.
I’ve created the /forest folder and create an event.ts file where I create my action
Are you sure that you are using forest-express-mongoose? Or our latest version of forest Node.js agent @forestadmin/agent + @forestadmin/datasource-mongoose?
Hello @morganperre ! Thank you for your quick reply !
I’ve just seen that I’ve all 3 in my package.json. I’ll remove the forest-express-mongoose and follow the doc you sent me.
I’ll let you know if that works.
Just to confirm, the agent they use for creating the action is the one return by the createAgent() function from “@forestadmin/agent” right ?