I am connecting an intent from an Amazon.YES_INTENT using addDelegateDirective, this intent needs to have a slot with a value that I keep in DynamoDB, but also, I need to pass it the ID of this slot value, since I need it to point to an address of a REST API.
How can I pass the id to this slot in addition to its value?
This is my current response builder:
return responseBuilder .addDelegateDirective({ name: 'IntentToCall', confirmationStatus: 'NONE', slots: { country: { name: 'country', value: persistentAttrs['lastCountryConsulted'].value, confirmationStatus: 'NONE' } } })