I'm writing an automation workflow which sends a web request to Azure's API and grabs some values from the request (names of policy definitions assigned to management group). I then would like to be able to add values (the names of the various policies) to a picklist of a custom field in a task. Basically, I want new options to be added to the picklist or a new custom field created based on what I get in the workflow.
Is there a way to do this?
Some screenshots for reference:

