To reference a credential you create in a previous action, use the GET()
function to get the credential. For example:
GET(CREDENTIAL, previous_action.body.name)
If the name isn't already in snake case you might need to wrap the path of the name in TO_SNAKE_CASE()
:
GET(CREDENTIAL, TO_SNAKE_CASE(previous_action.body.name))