Role id not available

Certainly, but neither will happen without admin intervention, and you can expect the name to remain static unless you choose to change it.

There isn’t a way to get role IDs in an Action without calling the management API (which is not recommended as you will quickly run into management API rate limits), or writing the values directly in the code.

Can you expand on your use case? When are you making the call to the management API?