Use metadata format for actions
Refactor make_payload
Refactor
Add print_status messages