Show a list of options in a custom integration
# 🤝help
r
I'm developing a custom integration and want to show a drop-down list. Follow my schema and the empty priority list. I may be doing something wrong.
f
Hey They are working on allowing enums in your integration and it will hopefully come soon.
I believe that @straight-wolf-37371 is also waiting for this
s
Hi @rich-house-28732, as Decay mentioned, this is a known issue and will be addressed soon. For now you can use strings. Happy to see someone working on integrations! 🙂
r
Thanks a lot for the response! I'll be eagerly awaiting this feature! =]
Taking advantage of the opportunity, i would like to know if have a native way to set or get a session variable directly on a Action
I know we can set directly when the integration action it's called:
But i would to do something like this example:
It's possible?
f
Maybe @straight-wolf-37371 have tried this before?
s
I'm not positive off the top of my head. Let me mess around with it and get back to you. If it is possible, it will be in the client var (gives you access to botpress client) or using states (https://botpress.com/docs/integration/howTo/states/) You are ahead of the curve 😉 They are currently working on updating a lot of this information to make it easier to understand.
r
Oh i really appreciate that! =] Thank you! I can access the conversation/user/bot scope on client.
I tried to access more info like session scope and the event.channel too
3 Views