Sendgrid unsubscribe

Hi,
what I am trying to do and couldnt find help for on the forum:
make the unsubscribe button at the bottom of sendgrid emails link to a dynamic page of my choice on bubble.
Why am I trying to do this?
I want users that receive emails from me via sendgrid to opt out of receiving more emails due to EU privacy policy restrictions. With the user unique link in the mail they should reach a page on the app that recognizes their userid and allows them to click unsubscribe, which leads their user no longer having a yes beyind “subscribe to emails”.

I am assuming it has to do with the 2 fields I add here as screenshot but what do I enter in a) the sendgrid side of things and b) in this workflow element of send mail via sendgrid in the field unsubscribe group ID?


help would be appreciated
thank you bubble community.

No need to do this in Bubble. Just include an unsub group in your SendGrid template and manage the unsubscribe groups there in SendGrid.

In the unsubscribe group ID in Bubble workflow, use the unsubscribe group ID (just number) from SendGrid / Suppressions / Unsubscribe groups