How to use "execute code" option in Slot filling


While I am creating a slot I need it to call action (execute code) but I can’t find this option like in normal nodes. only adding text/ carousel/ image or drop-down menu from the GUI… Why?

and how can I call execute code while the filling of a slot?

Hey @nermeen

You can create a node after the slot extracting node and from that new node call your action.
As for the extracted slot it can still be accessed from the session variable under session.slots.yourSlotName.value

Here’s my action using the slot

I hope this helps

Hello Seb,

Thanks a lot for your reply, really appreciated.

But I am talking here about (during the extraction) not after.

the only available options (during extractions) are text, image, dropdown menu and buttons but no execute code