Create those variables in the $_POST section. That screenshot refers to a Library workflow, but you use the API workflow instead
Ah, maybe you want to bind a Server Action to the page as well (so you can get those POST variables in the page), search Server Side Binding or similar. This tutorial is a bit more overkill for what you want to do, but you will find out how to bind server sided data to the page: