返回技能列表

bounce-monitoring-workflow

TomGranot
更新于 2 days ago
2 次查看
33
11
33
在 GitHub 上查看
automationdesign

关于

This workflow automates bounce monitoring to protect email sender reputation by auto-suppressing contacts exceeding configurable bounce thresholds. It immediately alerts on hard bounces and flags high-bounce contacts for weekly manual review. Use this to proactively manage bounce handling within HubSpot Marketing rather than relying on periodic cleanup.

快速安装

Claude Code

推荐
主要方式
npx skills add TomGranot/hubspot-admin-skills -a claude-code
插件命令备选方式
/plugin add https://github.com/TomGranot/hubspot-admin-skills
Git 克隆备选方式
git clone https://github.com/TomGranot/hubspot-admin-skills.git ~/.claude/skills/bounce-monitoring-workflow

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Bounce Monitoring Workflow

Protect your email sender reputation with automated bounce detection and suppression. This workflow catches bounces as they happen rather than waiting for periodic cleanup.

How It Works

ConditionAction
Hard bounce detectedAlert admin immediately, suppress contact
Suppression threshold reached (commonly 2-3 bounces)Auto-suppress from marketing emails
Review threshold reached (commonly 3-5 bounces)Flag for weekly manual review (delete vs. recover)

Prerequisites

  • HubSpot Marketing Professional or Enterprise plan
  • A custom contact property (e.g., email_health_flag or delivery_status) — checkbox or dropdown with value: "flagged for review"
  • Admin email or Slack channel for hard bounce alerts

Building the Workflow: Three Options

Option 1: Manual UI Build

Follow the step-by-step instructions in the "Execute" section below. This is the most reliable method and gives you full control over every trigger, branch, and action.

Option 2: HubSpot Breeze AI

HubSpot's built-in Breeze AI can generate a workflow skeleton from a natural language prompt. Navigate to Automation > Workflows > Create workflow > "Describe what you want" and paste the following prompt:

Create a contact-based workflow that triggers when the "Email Bounce" property
is known (has a value). The workflow should:

1. First, check if the contact has a hard bounce reason (hard_bounce_reason is known):
   - If YES: send an internal notification saying "Hard bounce: [email]" and set the
     contact as a non-marketing contact
   - If NO: continue to the next check

2. Check if the bounce count is greater than or equal to [your suppression threshold, commonly 2-3]:
   - If YES: set the contact as a non-marketing contact, then check if bounce count
     is >= [your review threshold, commonly 3-5]. If so, set a custom property
     "[your bounce review property]" to "flagged" and send an internal notification
     saying "Contact [email] has [review threshold]+ bounces - review for deletion"
   - If NO: end (below threshold, monitor only)

Enable re-enrollment so the contact re-enters if their bounce count increases.

CRITICAL WARNING: Breeze trigger limitations. Breeze creates event-based triggers (OR logic) instead of filter-based triggers (AND logic). After Breeze creates the workflow, you MUST manually verify and fix the trigger/enrollment conditions in the UI. Breeze is best used for creating the workflow skeleton (actions, branches, delays) -- the trigger conditions almost always need manual correction.

Additional Breeze limitations for this workflow:

  • Breeze cannot create "is unknown" branch conditions -- you must verify that branch conditions checking for hard bounce reason are correctly configured
  • Breeze cannot configure re-enrollment rules -- you must enable re-enrollment manually
  • Breeze may flatten the nested branch structure (hard bounce check > 2+ bounces > 3+ bounces) into a single level

Option 3: Claude Anthropic Chrome Extension

The Claude Anthropic Chrome extension lets Claude see and interact with the HubSpot workflow builder UI directly. You can describe the workflow logic in natural language and Claude will click through the UI to build it. This is often more accurate than Breeze for workflows with nested branching logic (this workflow has three levels of branches), because Claude can verify the branch hierarchy visually.

To use this approach:

  1. Open the HubSpot workflow builder in Chrome (Automation > Workflows > Create workflow)
  2. Activate the Claude Chrome extension
  3. Describe the workflow using the design table and instructions from this skill

Note on Fast Mode: If you're using Claude Code's Fast Mode to speed up workflow creation, be aware of the billing model: Haiku usage is included in your subscription, but Opus in Fast Mode consumes extra credits. For workflow building tasks (which are UI-heavy and may require many interactions), consider whether the speed tradeoff is worth the credit cost.

Step-by-Step Build Instructions

Stage 1: Before — Create Properties

  1. Create your bounce review property (e.g., email_health_flag or delivery_status):

    • Object: Contact
    • Type: Single checkbox or dropdown
    • Group: Contact information
  2. Identify your current bounce baseline — run a quick search for contacts where hs_email_bounce > 0 to understand the starting volume.

Stage 2: Execute — Build the Workflow

Build a single contact-based workflow with branching logic.

  1. Trigger: hs_email_bounce is known (fires when bounce count updates)

  2. Branch 1: Hard bounce check

    • Condition: hs_email_hard_bounce_reason_enum is known
    • YES:
      • Send internal notification: "Hard bounce: {email} — {hs_email_hard_bounce_reason_enum}"
      • Set hs_marketable_status to non-marketing (workflow action)
    • NO: Continue to Branch 2
  3. Branch 2: Bounce count >= your suppression threshold (commonly 2-3)

    • Condition: hs_email_bounce is greater than or equal to your suppression threshold
    • YES:
      • Set hs_marketable_status to non-marketing (workflow action)
      • Continue to Branch 3
    • NO: No action (below threshold — monitor only)
  4. Branch 3: Bounce count >= your review threshold (commonly 3-5)

    • Condition: hs_email_bounce is greater than or equal to your review threshold
    • YES:
      • Set your bounce review property = flagged
      • Send internal notification: "Contact {email} has [review threshold]+ bounces — review for deletion"
    • NO: No further action
  5. Settings:

    • Re-enrollment: ON (contact should re-enter if bounce count increases)
    • Goal: None
  6. Turn on the workflow.

Stage 3: After — Verify

  1. Check workflow history after the first week of email sends.
  2. Review the flagged contacts list weekly — decide for each contact:
    • Delete if the email is clearly invalid (typo domain, defunct company)
    • Attempt recovery if the domain is valid (could be a temporary mailbox issue)
  3. Monitor overall bounce rate in HubSpot email health dashboard.

Stage 4: Rollback

  1. Turn off the workflow.
  2. Contacts already suppressed remain non-marketing. To reverse:
    • Filter contacts suppressed by this workflow (check your bounce review property or workflow history)
    • Manually set back to marketing contacts in the UI
  3. Clear your bounce review property values in bulk if needed.

Weekly Review Process

For contacts flagged at your review threshold:

  1. Export the flagged contacts list.
  2. For each contact, check:
    • Is the email domain still active? (Quick MX record check)
    • Is this a known customer or high-value contact?
    • Was the bounce recent or historical?
  3. Delete contacts with invalid domains or clearly fake emails.
  4. Keep suppressed contacts with valid domains but repeated soft bounces.
  5. Clear the bounce review property after review.

GitHub 仓库

TomGranot/hubspot-admin-skills
路径: skills/bounce-monitoring-workflow
0

相关推荐技能

content-collections

Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。

查看技能

polymarket

这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。

查看技能

creating-opencode-plugins

该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。

查看技能

sglang

SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。

查看技能