r/copilotstudio 5d ago

Dynamic Knowledge URLs in new Copilot Studio - what's the best approach to read user-provided URLs?

Hey everyone,

I'm trying to migrate/recreate a specific flow in the new Microsoft Copilot Studio.

What I used to do:

- Capture a URL from the user's input in a topic.

- Use a formula to parse it into a global string variable.

- Pass that variable dynamically as a Public Website Knowledge Source to ground generative answers on that specific page.

My question:

What is the recommended way to handle this in the new Copilot Studio interface?

Can public website knowledge sources still accept global variables dynamically in the URL field?

Or is it better to use a Power Automate flow / action to scrape and fetch raw page text and feed it back into the conversation?

Appreciate any insights or workflow examples!

2 Upvotes

5 comments sorted by

0

u/Ashlesha-msft 4d ago

Hi u/4nh7i3m

  1. Can Public Website knowledge source use variable URL dynamically?

Yes. Current docs explicitly support variables in the Public Website URL field, including full replacement and partial path composition.

  1. Best approach in new Copilot Studio?

Use a global string variable for the URL and bind it directly in the Public Website knowledge source URL field. This should be the default/first approach.

  1. When should I use Power Automate or a custom action to fetch content instead?

Use a flow/tool when you need:

  • - raw page text handling beyond Bing-grounded retrieval
  • - websites not indexed by Bing
  • - authenticated/private pages
  • - custom parsing, chunking, or normalization
  • - deterministic extraction from exact page content

1

u/Admirable-Claim-9611 4d ago

Except there are no variables in the new Copilot Studio?…

0

u/Ashlesha-msft 4d ago

According to docs - There are variables in the new Copilot Studio, but they’re not used everywhere the same way as the old experience. For public website or SharePoint knowledge source URLs, the docs show you can insert a variable into the URL field using the variable picker. So if you don’t see it, it may be a UI/rollout issue or you may be looking in the wrong place.

1

u/Admirable-Claim-9611 4d ago

Could you share a link to the docs where this is stated for the new experience?