How to use inputs var in a trigger?

Then you cannot use scenario inputs in a trigger.

You can try using the OneNote “List sections” module —

Retrieves a list of sections in a specified notebook.

For more information about the List sections module and OneNote app, see the corresponding Integrations page and the Help Centre documentation.

Hope this helps! If you are still having trouble, please provide more details.

@samliew