Custom response page for webhook URLs - better user experience

I’m working on a project where we send HTML emails with buttons that trigger webhook calls when clicked. Right now we’re using standard webhook endpoints, but there’s a problem with the user experience.

When someone clicks a button in the email, it opens their browser and shows either a blank page or just some plain text. This looks unprofessional and confusing for users.

What I want to do is show a nice custom page instead of the blank response. Something like “Thanks for your response!” with proper styling and branding.

I tried adding JavaScript to open multiple URLs at once (one for the webhook trigger and another for a nice confirmation page), but most email clients block JavaScript execution so that doesn’t work.

Here’s a simple example of what I’m working with:

<form action="https://webhook-service.com/trigger/abc123" method="POST">
  <button type="submit" name="response" value="yes">Accept</button>
  <button type="submit" name="response" value="no">Decline</button>
</form>

Does anyone know of webhook services that let you customize the response page? Or maybe a way to make one button trigger multiple actions? Any suggestions would be really helpful.

for sure! just set your webhook to respond with a nicely styled html page instead. it’s way easier than triggering multiple actions, and most services out there support that. your users will appreciate the better look!

I ran into this exact problem with email campaigns for subscription renewals. Instead of messing with the webhook response, I used an intermediate landing page - way cleaner approach. Point your form action to your own server endpoint first. It processes the webhook server-side, then shows your custom confirmation page right away. You keep full control over the user experience without depending on third-party webhook services to handle HTML responses properly. The flow: email button → your landing page → webhook happens behind the scenes → user sees your branded thank you page. Bonus: you can track analytics on that confirmation page and handle webhook failures without users ever knowing something broke.

Hit this same problem last year with our customer feedback system. The fix was way simpler than I thought - don’t just send a basic HTTP response from your webhook. Send back a full HTML page with proper styling and messaging. Most webhook platforms let you customize what gets returned. Just return a complete HTML document with CSS, your branding, and a nice thank you message. Set the content-type header to text/html and put the full page markup in the response body. If your webhook service won’t do custom HTML responses, try a redirect instead. Process the webhook first, then send a 302 redirect to a thank you page on your site. You get full control over what users see and still capture all the webhook data.