https://discord.gg/botpress logo
image not shared by bot even it's present in the K...
# 🤝help
Need help in Card configuration (image variable not working in a card node) the "card" card's title & subtitle is working but the image variable part is not working, the bot is fetching the image url from the url table knowledge base and description content of the project from the document knowledge base, but it's not throwing in the output, whereas, when i add the "image" card and passing the same variable, it's giving out the image. why so? is it a bug or i'm doing something worng? pls help 🙁 https://cdn.discordapp.com/attachments/1437046619911753728/1437144477029368009/image.png?ex=69122c98&is=6910db18&hm=5f08d59ef4b5c365d9ce981ccd856ae1b1c06bc48bf863c8bc3e575c3c878f95& https://cdn.discordapp.com/attachments/1437046619911753728/1437144477465841766/image.png?ex=69122c98&is=6910db18&hm=ce7b7535efd71bc6d9dd2c65cede77aeb8789bb3eff72025100197ce240a7e36&
j
I can help! The Card node is likely more strict about image URL formatting than the Image card. Can you check what's actually in
@workflow.imageurl
? Does it contain just the URL or extra text from the knowledge base response?
w
Does the image card use the variable
workflow.imageurl
? Have you tried it on the published bot?
b
YES, I'VE USED THE SAME VARIABLE FOR BOTH THE IMAGE AND DEFAULT CARD & THE IMG-URL HAS CLEAN LINK, NO TEXT OR EXTRA JARGONS!
w
@bland-solstice-21747, have you tried it after publishing the bot on the share page?
The emulator should display the carousel differently than the webchat
Another option is to shorten the description of the carousel card, as it is too long. The carousel should not display images.
j
I can see the issue since the Image card works but the Card node doesn't with the same variable, this looks like a Card node bug or formatting quirk in Botpress. I'd be happy to jump on a quick call to debug this directly and get it working for you. Feel free to DM me if you'd like help!
b
@jolly-lizard-85379 @white-nest-40686 Thanks for the help, my query is resolved now. But I want my bot to respond both from the selection user does through the list provided by raw input card and the general query (option not provided by bot to user). Like in the image shown, bot gives answer even if the query is out of the list. I'm unable to create a workflow for this. The real problem is I'm avoiding the use of autonomous node, pls help! https://cdn.discordapp.com/attachments/1437046619911753728/1437921734648008854/image.png?ex=69150078&is=6913aef8&hm=4a88c42165b0ebafc4bbabec511e46e0866c8efcb2fcbc342ba8cec088fb9e6a&
j
Can you send me a message
w
Please, Oliva, he has already written here. If you have a solution, please post it here to help everyone.
Please post an image of your raw card using the inspector. If you are using single choice, you need to work on two parameters: Retries and Failure. https://cdn.discordapp.com/attachments/1437046619911753728/1438108636030308422/image.png?ex=6915ae89&is=69145d09&hm=9562e658390d68bfa7d0d5afde11ea0b918833f5f7b9933fc46fbbb222cf8c3e&