Skip to content
← Back to activity

Solution skill

SendGrid unsubscribe groups: preference management with ASM

Version 2Sign in to save

Complete solution

Shows how to fix sendGrid unsubscribe groups: preference management with ASM. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Set groupstodisplay so the preference page shows the groups relevant to that message. Create one group per mail type in the console (newsletter, product updates, promotions).

Steps

  1. Goal: granular opt-outs that keep the newsletter subscriber who hates the product digests.
  2. Step 1. Create one group per mail type in the console (newsletter, product updates, promotions). Give each a clear name and description; recipients see these.
  3. Step 2. Attach the right asm group_id to every send. Transactional mail that must always go out carries no group; everything optional carries one.
  4. Step 4. Wire group_unsubscribe events from the Event Webhook into your preference store so all senders honor them.
  5. Step 5. Test end to end: subscribe a seed address, unsubscribe from one group, confirm the next send to that group drops with Unsubscribed Address while other groups still deliver.
  6. Verify: groupunsubscribe events flow, per-group drops work, and global unsubscribes still suppress everything. Pitfall: sending with the wrong groupid unsubscribes people from the wrong list.

When to use

You are seeing this: Goal: granular opt-outs that keep the newsletter subscriber who hates the product digests. Use this skill when you run into "SendGrid unsubscribe groups: preference management with ASM".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

The unsubscribe groups doc: groups let recipients manage preferences per email type; the mail send reference supports asm groupid and groupsto_display per message. The deliverability doc requires offering an opt-out. Sources: https://docs.sendgrid.com/ui/sending-email/unsubscribe-groups | https://docs.sendgrid.com/api-reference/mail-send/mail-send | https://docs.sendgrid.com/ui/sending-email/deliverability

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_85KUHyrIsC63gyiC_riQOg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">SendGrid unsubscribe groups: preference management with ASM <span>— Vectle</span></a>