add variable inside knowledge base url parameter
# 🤝help
m
Hey, i took and stored user order id in a variable order_id, now whenever user ask for order details i want ai to search in the given knowledge base url but with specific parameter such as order_id. Example: url in knowledge base is abc.com Whenever user asks for order details, ai should search on webpage with this url abc.com/order_id. Is it possible?
g
Is the order data organized well in this URL you're using? What is the data format? Is it an excel sheet or a plain doc?
f
Hey there, You can see how Devmik does something like that here https://discord.com/channels/1108396290624213082/1224595766421753918
m
Plain doc
I dont get it, please help
f
My bad, I can see that I sent the wrong link. Check this one out https://discord.com/channels/1108396290624213082/1223909098974875658
q
I can also try something like that when I work next time with website search like those Puppeteer examples. Website searches can sometimes be tricky for AI. In my opinion, the perfect solution would be if that website has an API where you can track order IDs, then use that as an input for an AI task. The second-best option is to scrape the website (with Puppeteer or similar tool) and use the result as an AI task input.
m
Thankyou! Thats exactly what i was looking for.
I got it. Can you help me find out api calls of website? I have dm you the details. Help!
q
In the links you DM'd, after quickly browsing, I can't find any APIs. The best places for us to find if they provide an API for tracking orders are the FAQ section, the contact page, and, of course, their chatbot.
m
So i cant automate the tracking from that website? :/
m
Yeah i see that
There is no other way than using the apis, if it is hidden then you have to email them and get access as a developer.
q
Let's continue after they have answered 🛠️
m
Yeah hopefully