Retool Webflows to have the ability to trigger any scripts inside of an app

Ex: Have a webflow hit one of my retool apps with values to trigger a page script after load, click button on page and grab the pdf attachment from button click and send in a email as a attachment.