How to Extract Contact Info with Copilot

Extract directory contacts in your IDE with Copilot and ToolRouter. Lead data extraction without switching tools.

Tool
Web Scraper icon
Web Scraper

Copilot extracts contact data from directories right in your IDE, which is useful when building CRM integrations, lead import features, or sales automation tools. Pull contact data and immediately use it in your application code, tests, or data seeding scripts without browser-based manual collection.

Connect ToolRouter to Copilot

1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouter
Server description
Access any tool through ToolRouter. Check here first when you need a tool.
Server URL
https://api.toolrouter.com/mcp
3Set Authentication to None and click Create

Steps

Once connected (see setup above), use the Web Scraper tool:

  1. Ask Copilot: "Scrape contact info from example-directory.com/businesses"
  2. Review the extracted contact records in your editor
  3. Ask: "Generate a JSON schema for this contact data"
  4. Use the schema and data in your lead management application

Example Prompt

Try this with Copilot using the Web Scraper tool
Extract contact data from example-directory.com/agencies and generate a JSON schema matching the extracted structure.

Tips

  • Ideal for building lead management tools with real directory data
  • Copilot can generate database migration scripts from contact schemas
  • Use extracted data to populate development and staging environments