Custom action doubt

Hi this is Murugan , doubt regarding custom action , if intent matches custom action API triggers (working fine with static paramaters-username,id,etc ) , but how can i pass dynamic paramaters to my custom action APIs

hi @murugan - where are these dynamic parameters coming from? are they fetched from an API or something?

API…

ok so can you fetch those values by calling the api inside your custom action? you can store them in slots if you need them again later

custom_action.py (709 Bytes)

Herewith i attached my action.py file , just gothrough it , when intent triggers the action.py file sucessfully runs and giving json response. …but my doubt is , here in action.py file i am giving payload paramaters as static , how can i give as dynamic , how i can pass dynamic parameters(like email id , user id , etc)

pls help mee