How will the bot be able to return specific replies based on values of the same slot?

how will the bot able to return specific replies based on values of the same slot?

for example:-

story :-

##happy path service center enquiry

*greet

-utter_greet

*Service_Center_OR_Factory

-utter_city_name

*city_name

-utter_Service_Center_OR_Factory

the flow goes like this(after the initial greet):-
Customer :- where is the nearest service center?

Bot :- Which city are you from?

Customer :- I am from Bangalore.

Bot :- List of service centers in Bangalore :- <gives a list of service center based on customer’s city> .

relevant slots,entities,actions and templates in my domain.yml file :-

slots:-

customer_location:

type: text

workshop_location:

type: text

entities:-

  • customer_location
  • workshop_location

actions:-

  • utter_greet
  • utter_city_name
  • utter_Service_Center_OR_Factory

templates:

utter_greet:

  • text: “Hey, {PERSON}!This is Ollie,your assistant.How may I help you?”
  • text: “Hi {PERSON}!I am here to help.Shoot!”
  • text: “Hi,how can I help you?”

utter_city_name:

  • text: “Which city are you from?”
  • text: “Name of the city please?”

utter_Service_Center_OR_Factory:

  • text: “Workshop is located at <relevant workshop locations based on customer’s city>”

relevant intents in my nlu.md file :-

intent:Service_Center_OR_Factory

##intent:city_name

How can i make the bot return a list of service centers based on the customer’s city?

Is there a way to map between the value of the customer_location slot and the relevant workshop_location ?

PS :- service center and workshop are same entity(workshop_location)

I think you can write your own code in the action server.

Any solution without custom action?