---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/public-holidays/use-cases/plan-ecommerce-promotions/copilot
---
# How to Plan Ecommerce Promotions with Copilot

Copilot fetches holiday data and generates promotional campaign configurations for your ecommerce platform. Create JSON schemas for banner scheduling, discount rule configs tied to holiday dates, and automated email trigger logic -- building holiday promotional infrastructure directly in your application codebase.

## Setup

{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Get US holidays for 2026 using public-holidays"
3. Copilot returns the holiday data
4. Ask: "Generate a JSON promotional calendar with these holidays for our ecommerce platform"
5. Integrate the promotional schedule into your storefront

## Example Prompt

```
Fetch US holidays for 2026 and generate a JSON config for our promotional banner system. Include campaign start and end dates for each holiday.
```

## Tips

- Automate promotional banner scheduling using holiday date data
- Generate discount rule configurations tied to holiday dates
- Use the data to build automated email campaign triggers
