code to map a trigger request to a set of workflows to be executed