https://discord.gg/botpress logo
Can not edit input schema on action
# 🤝help
t
I want to call get API to retrieve some data from ebay, with search query is botpress summary user replacement parts. But on action i can not access input and output schema. Please help 🙏🏻 https://cdn.discordapp.com/attachments/1372249196127588514/1372249196446482523/image.png?ex=68261627&is=6824c4a7&hm=b1c6a4b4e63e3a0a7dcc88debf476597fa7eee1ef827a67cc9c56834988f656a&
p
Can you show what your input and output schema look like?
t
but there is some issues with input schema, it can not access ( like click button )
p
Have you defined it like you define the variables?
t
yeah, actually i want to trigger action from Autonomous node. Like a example above, when user enter issue relate to "front brake for Yamaha R1 2024", it will save the issue to variable call user_issue, then trigger action with user_issue is parameter.
p
Right, but an action takes as input a schema therefore you have to assign the user_issue variable to the corresponding attribute of the schema which will then be provided to your action.
t
yeah, i mean the issue is i can not access or config the input schema action in bot
and i have one question want to ask, if you don't mind. Can i search for product on ebay, amazon directly without call API. And take it value (img, title, eg...) display on bot
p
Here are the docs for schemas and actions: https://botpress.com/docs/guides/studio/interface/schemas#schemas https://botpress.com/docs/guides/studio/interface/actions#actions I believe you will find the solution to your issue within.
You can search the web and take the knowledge agents output and format it or store it in a given way, yes. No need for API calls!
t
like real time info, right?
p
Yes, what is currently on the webpage.
t
Thank you so much, it's 2:30 a.m. right now. You've been a big help
p
Happy to help!