# Using/architecting data sources

**URL:** <https://community.mindstudio.ai/t/using-architecting-data-sources/2066>\
**Category:** Community Discussion\
**Created:** [May 11, 2026, 4:17pm UTC](https://community.mindstudio.ai/t/using-architecting-data-sources/2066 "2026-05-11T16:17:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rdrake](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@rdrake](https://community.mindstudio.ai/u/rdrake)\
**Post date:** [May 11, 2026, 4:17pm UTC](https://community.mindstudio.ai/t/using-architecting-data-sources/2066/1 "2026-05-11T16:17:48Z")

</div>

I’m building a chat bot to assist users with navigating a large database of primarily product documentation. The underlying data itself is a mix of PDFs and webpages.

I’ve been able to set the PDFs as data sources easily enough and I’ve got a scrape URL block, but I’m not sure the best way to scale this up especially to a lot of URLs. If it’s helpful most documents are very topic based (Any query with ATA100 very clearly goes to one set of documents, whereas ATA200 definitely goes somewhere else).

Thank you!

---

<div class="post-metadata">

**Author:** ![Alex\_MindStudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/alex_mindstudio/32/27_2.png) [@Alex\_MindStudio](https://community.mindstudio.ai/u/Alex_MindStudio)\
**Post date:** [May 13, 2026, 1:36pm UTC](https://community.mindstudio.ai/t/using-architecting-data-sources/2066/2 "2026-05-13T13:36:37Z")

</div>

Hi @rdrake,

Here’s a setup that works well for topic-based documentation:

1. User enters their query
2. Router block matches it to the closest Data Source for that topic
3. Generate Text block analyzes the query and produces three similar variations to pull in more related content
4. Those queries get passed to the Query Data Source blocks

We also have a template for this setup:  
[https://app.mindstudio.ai/agents/sample-data-sources-agent-38f31065/remix](https://app.mindstudio.ai/agents/sample-data-sources-agent-38f31065/remix)

Let me know what you think!

---

<div class="post-metadata">

**Author:** ![rdrake](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@rdrake](https://community.mindstudio.ai/u/rdrake)\
**Post date:** [August 5, 2026, 3:55pm UTC](https://community.mindstudio.ai/t/using-architecting-data-sources/2066/3 "2026-08-05T15:55:39Z")

</div>

Hi Alex, sorry to bump an old thread. I’m working on a different (but similar) project that has about 200 URLs as source content, but not as many nice distinctions to route on. Is there a way (within mindstudio) to pre-load these URLs as a data source? Thank you!

---

<div class="post-metadata">

**Author:** ![Alex\_MindStudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/alex_mindstudio/32/27_2.png) [@Alex\_MindStudio](https://community.mindstudio.ai/u/Alex_MindStudio)\
**Post date:** [August 5, 2026, 4:28pm UTC](https://community.mindstudio.ai/t/using-architecting-data-sources/2066/4 "2026-08-05T16:28:46Z")

</div>

Hi @rdrake,

Yes, you can set this up with two workflows in your agent:

1. First workflow: Display Content block to hold your list of URLs as JSON, then pass them into a Run Workflow block set to sequential processing
2. Second workflow: Scrape URL, Extract Text from File, or Analyze Image block (depending on the file format) followed by an Upload Data Source Document block to add it to a Data Source

Let me know if you have any questions!

---

<div class="post-metadata">

**Author:** ![rdrake](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@rdrake](https://community.mindstudio.ai/u/rdrake)\
**Post date:** [August 5, 2026, 7:51pm UTC](https://community.mindstudio.ai/t/using-architecting-data-sources/2066/5 "2026-08-05T19:51:15Z")

</div>

I’ve got that first block seeming to work, but I think I’m running into issues on the second. I’ve that second block receiving the iterative items from the JSON, and then going to scrape URL. What block lets me take the scrape URL and make it into a PDF for upload data source? Thank you again!

---

<div class="post-metadata">

**Author:** ![Alex\_MindStudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/alex_mindstudio/32/27_2.png) [@Alex\_MindStudio](https://community.mindstudio.ai/u/Alex_MindStudio)\
**Post date:** [August 6, 2026, 3:13pm UTC](https://community.mindstudio.ai/t/using-architecting-data-sources/2066/6 "2026-08-06T15:13:13Z")

</div>

Hi @rdrake,

You don’t need to convert it to PDF, Data Sources support a number of file types. The Upload Data Source Document block can take the raw text straight from the Scrape URL block and upload it as a txt file.

If you’re still running into any issues, I can take a closer look at your agent. Could you share a remix link?
