diff --git a/apps/rowboat/app/lib/prebuilt-cards/customer-support.json b/apps/rowboat/app/lib/prebuilt-cards/customer-support.json index 6c117344..f60c763c 100644 --- a/apps/rowboat/app/lib/prebuilt-cards/customer-support.json +++ b/apps/rowboat/app/lib/prebuilt-cards/customer-support.json @@ -108,5 +108,6 @@ "lastUpdatedAt": "2025-09-11T18:51:15.548Z", "name": "Customer Support", "description": "Answers product information (RAG) and delivery status (MCP) questions.", - "category": "Customer Support" -} \ No newline at end of file + "category": "Customer Support", + "copilotPrompt": "Give me a brief explanation of this assistant." +} diff --git a/apps/rowboat/app/lib/prebuilt-cards/github-data-to-spreadsheet.json b/apps/rowboat/app/lib/prebuilt-cards/github-data-to-spreadsheet.json index 6e1188b1..3fbc6b22 100644 --- a/apps/rowboat/app/lib/prebuilt-cards/github-data-to-spreadsheet.json +++ b/apps/rowboat/app/lib/prebuilt-cards/github-data-to-spreadsheet.json @@ -1,5 +1,4 @@ { - "category": "Developer Productivity", "agents": [ { "name": "GitHub Stats Hub", @@ -575,5 +574,7 @@ ], "startAgent": "GitHub Stats Pipeline Hub", "name": "GitHub Data to Spreadsheet", - "description": "Fetches GitHub repository stats and logs them to a Google Sheet with Slack notifications" + "description": "Fetches GitHub repository stats and logs them to a Google Sheet with Slack notifications", + "category": "Developer Productivity", + "copilotPrompt": "Give me a brief explanation of this assistant. Also briefly tell me about how to setup a trigger for this assistant." } diff --git a/apps/rowboat/app/lib/prebuilt-cards/github-issue-to-slack.json b/apps/rowboat/app/lib/prebuilt-cards/github-issue-to-slack.json index 39da884d..185f279d 100644 --- a/apps/rowboat/app/lib/prebuilt-cards/github-issue-to-slack.json +++ b/apps/rowboat/app/lib/prebuilt-cards/github-issue-to-slack.json @@ -115,5 +115,6 @@ "lastUpdatedAt": "2025-09-12T13:46:12.039Z", "name": "GitHub Issue to Slack", "description": "Assistant that sends a formatted Slack message with GitHub issue details when a issue is opened or updated.", - "category": "Developer Productivity" -} \ No newline at end of file + "category": "Developer Productivity", + "copilotPrompt": "Give me a brief explanation of this assistant. Also briefly tell me about how to setup a trigger for this assistant." +} diff --git a/apps/rowboat/app/lib/prebuilt-cards/github-pr-to-slack.json b/apps/rowboat/app/lib/prebuilt-cards/github-pr-to-slack.json index 863c8e82..61a479fc 100644 --- a/apps/rowboat/app/lib/prebuilt-cards/github-pr-to-slack.json +++ b/apps/rowboat/app/lib/prebuilt-cards/github-pr-to-slack.json @@ -129,5 +129,6 @@ "lastUpdatedAt": "2025-09-12T06:30:34.203Z", "name": "GitHub PR to Slack", "description": "Assistant that sends a formatted Slack message with PR details when a PR is opened or merged.", - "category": "Developer Productivity" -} \ No newline at end of file + "category": "Developer Productivity", + "copilotPrompt": "Give me a brief explanation of this assistant. Also briefly tell me about how to setup a trigger for this assistant." +} diff --git a/apps/rowboat/app/lib/prebuilt-cards/interview-scheduler.json b/apps/rowboat/app/lib/prebuilt-cards/interview-scheduler.json index d87b28a2..3c192ac8 100644 --- a/apps/rowboat/app/lib/prebuilt-cards/interview-scheduler.json +++ b/apps/rowboat/app/lib/prebuilt-cards/interview-scheduler.json @@ -465,5 +465,6 @@ ], "startAgent": "Recruitment HR Bot", "name": "Interview Scheduler", - "description": "Automate interview scheduling with candidates from Google Sheets" + "description": "Automate interview scheduling with candidates from Google Sheets", + "copilotPrompt": "Give me a brief explanation of this assistant." } diff --git a/apps/rowboat/app/lib/prebuilt-cards/meeting-prep-assistant.json b/apps/rowboat/app/lib/prebuilt-cards/meeting-prep-assistant.json index ddf724db..24bcbddd 100644 --- a/apps/rowboat/app/lib/prebuilt-cards/meeting-prep-assistant.json +++ b/apps/rowboat/app/lib/prebuilt-cards/meeting-prep-assistant.json @@ -238,5 +238,6 @@ "lastUpdatedAt": "2025-09-12T05:56:12.131Z", "name": "Meeting Prep Assistant", "description": "Assistant that researches meeting guests, compiles a summary, and sends it via email.", - "category": "Work Productivity" -} \ No newline at end of file + "category": "Work Productivity", + "copilotPrompt": "Give me a brief explanation of this assistant. Also briefly tell me about how to setup a trigger for this assistant." +} diff --git a/apps/rowboat/app/lib/prebuilt-cards/reddit-on-slack.json b/apps/rowboat/app/lib/prebuilt-cards/reddit-on-slack.json index e34222c6..8849239f 100644 --- a/apps/rowboat/app/lib/prebuilt-cards/reddit-on-slack.json +++ b/apps/rowboat/app/lib/prebuilt-cards/reddit-on-slack.json @@ -293,5 +293,6 @@ "lastUpdatedAt": "2025-09-09T17:48:53.292Z", "name": "Browse Reddit on Slack", "description": "Browses Reddit for topics of interest and sends them to a Slack channel.", - "category": "News & Social" -} \ No newline at end of file + "category": "News & Social", + "copilotPrompt": "Give me a brief explanation of this assistant. Also briefly tell me about how to setup a scheduled trigger for this assistant." +} diff --git a/apps/rowboat/app/lib/prebuilt-cards/tweet-with-generated-image.json b/apps/rowboat/app/lib/prebuilt-cards/tweet-with-generated-image.json index 5901c20f..7cd371c5 100644 --- a/apps/rowboat/app/lib/prebuilt-cards/tweet-with-generated-image.json +++ b/apps/rowboat/app/lib/prebuilt-cards/tweet-with-generated-image.json @@ -295,5 +295,6 @@ "lastUpdatedAt": "2025-09-11T18:02:35.880Z", "name": "Viral Tweet Assistant", "description": "Research topics and create a tweet including generated images.", - "category": "News & Social" -} \ No newline at end of file + "category": "News & Social", + "copilotPrompt": "Give me a brief explanation of this assistant." +} diff --git a/apps/rowboat/app/lib/prebuilt-cards/twitter-sentiment.json b/apps/rowboat/app/lib/prebuilt-cards/twitter-sentiment.json index 51d6fb76..d90f5e66 100644 --- a/apps/rowboat/app/lib/prebuilt-cards/twitter-sentiment.json +++ b/apps/rowboat/app/lib/prebuilt-cards/twitter-sentiment.json @@ -375,5 +375,6 @@ "lastUpdatedAt": "2025-09-11T17:26:48.865Z", "name": "Twitter Sentiment", "description": "Searches Twitter for tweets about a company and analyzes their sentiment.", - "category": "News & Social" -} \ No newline at end of file + "category": "News & Social", + "copilotPrompt": "Give me a brief explanation of this assistant. Also briefly tell me about how to setup a scheduled trigger for this assistant." +} diff --git a/apps/rowboat/app/projects/components/build-assistant-section.tsx b/apps/rowboat/app/projects/components/build-assistant-section.tsx index 4d711da4..03484990 100644 --- a/apps/rowboat/app/projects/components/build-assistant-section.tsx +++ b/apps/rowboat/app/projects/components/build-assistant-section.tsx @@ -107,13 +107,14 @@ export function BuildAssistantSection() { }; // Handle template selection - const handleTemplateSelect = async (templateId: string) => { + const handleTemplateSelect = async (template: any) => { // Show a small non-blocking spinner on the clicked card - setLoadingTemplateId(templateId); + setLoadingTemplateId(template.id); try { await createProjectWithOptions({ - template: templateId, - prompt: 'Explain this workflow', + template: template.id, + // Prefer a card-specific copilot prompt if present on the template JSON + prompt: template.copilotPrompt || 'Explain this workflow', router, onError: () => { // Clear loading state if creation fails @@ -499,7 +500,7 @@ export function BuildAssistantSection() { {items.map((template) => (