Custom action-token

I want to create action token that will start flow and will return a queryParam “code”. I saw the resetCredentialsActionToken, that call function processFlow but which flowPath I need to declare in my case?
Thanks in advance.