How can we add different values based on environment for "action_endpoint" under endpoints.yml file?

How can we add different values based on environment for “action_endpoint” under endpoints.yml file? Is there a way the action_endpoint can read the value from an slot or config file?

@vmanthena can you explain a bit more about this with an example?

Sure, if we want to use our own custom action server, we have to define the endpoint under the endpoints.yml file (action_endpoint = https://host:port/webhook). For our use case, we can have multiple hosts on production. Ex : https://hostA.8080/webhook, https://hostB.8080/webhook, https://hostC.8080/webhook… where the host A,B,C are the VIP for that data centers.

So want to know if there is any way at run time the “action_endpoint” under “endpoints.yml” file can refer the endpoint dynamically from a slot etc…

@vmanthena what is the significance of using so many action_endpoints do we have multiple bots running?