Search Bar Input

Describe the problem.
Is there any way while using webscrape to have data from an excel or other source be used as search parameters in a search bar then grab the data and then enter in a new value to search?

Url: http://example.com

Sitemap:
{id:"sitemap code"}