Skip to content

Add support contact tool for Marvin slackbot#1228

Closed
zzstoatzz wants to merge 2 commits into
mainfrom
add-support-contact-tool
Closed

Add support contact tool for Marvin slackbot#1228
zzstoatzz wants to merge 2 commits into
mainfrom
add-support-contact-tool

Conversation

@zzstoatzz

@zzstoatzz zzstoatzz commented Sep 11, 2025

Copy link
Copy Markdown
Collaborator

Summary

  • Add get_support_resources() tool that prioritizes community channels for open source users
  • Include the new tool in slackbot agent configuration
  • Clearly distinguish customer support email from community resources

Background

Following Slack conversation about making the help@prefect.io support email available for customers, while prioritizing community resources for general open source users.

Changes

  • New Tool (search.py): get_support_resources() returns comprehensive support options:
    • GitHub Discussions (primary for community)
    • GitHub Issues (for bugs)
    • Documentation
    • Support page
    • Customer email (clearly marked as Prefect Cloud/managed execution only)
  • Tool Integration (core.py): Added the new tool to the slackbot agent's tool list

Test Plan

  • Verify tool returns prioritized community resources
  • Test that bot suggests GitHub discussions first for general support questions
  • Confirm customer email is only suggested for paying customers/cloud users

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings September 11, 2025 17:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds support contact information tool to the Marvin slackbot to help users find official Prefect support channels when they need assistance.

  • New get_support_resources() tool that returns the official support email address
  • Updated system prompt to reference support resources and tool usage
  • Integrated the new tool into the slackbot agent configuration

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
examples/slackbot/src/slackbot/search.py Adds new tool function to return support contact information
examples/slackbot/src/slackbot/core.py Integrates the new support tool into the agent's tool list
examples/slackbot/src/slackbot/_internal/templates.py Updates system prompt to include support resources section

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread examples/slackbot/src/slackbot/search.py Outdated
- Add get_support_resources() tool that returns help@prefect.io
- Update system prompt to reference support email and tool usage
- Include tool in slackbot agent configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@zzstoatzz zzstoatzz force-pushed the add-support-contact-tool branch from dbce39b to b9057ae Compare September 11, 2025 17:22
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@zzstoatzz zzstoatzz closed this Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants