Skip to main content
Best answer

Custom response to Webhooks


I have set up a Zapier to catch webhooks from “MyApp”.

As I understand Zapier automatacy respond with 200 OK. 

Is it possible to set a custom HTTP response to header like:  X-MyApp-Webhook-Status set to OK ? 

Best answer by AndrewJDavison_LuhhuBest answer by AndrewJDavison_Luhhu

Hi @keth 

It’s not currently possible to set a custom webhook response. I know it’s an active feature request, though (because I added it!) - so if you want I can flag this so someone on the Zapier team can add your vote?

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

18 replies

AndrewJDavison_Luhhu
Forum|alt.badge.img+10

Hi @keth 

It’s not currently possible to set a custom webhook response. I know it’s an active feature request, though (because I added it!) - so if you want I can flag this so someone on the Zapier team can add your vote?


  • Author
  • Beginner
  • 1 reply
  • October 6, 2020

Yes, please flag this @AndrewJDavison_Luhhu, my vote goes to your Feature Request :clap: 


Liz_Roberts
Forum|alt.badge.img+8
  • Zapier Staff
  • 1366 replies
  • October 6, 2020

Hi @keth - I have added you to this feature request so that if there is an update you will be notified via email!


Do we have any workarounds for this in the meantime? Using silent is great for internal use but externally this is a bit of a challenge right now without being able to inject a middle set to let them know about it. Doing this will likely strip the meta-data I am parsing through the Webhook :-(


Henrik Mitsch

Hi @Liz_Roberts , could you please add me to the feature request, too?

I’d like to connect Adyen notifications to Slack via Zapier. Adyen requires notifications to be acknowledged with a custom string:

[accepted]

Adyen’s documentation is here: https://docs.adyen.com/development-resources/webhooks#accept-notifications

Best regards,
   Henrik

 


Mwemap
Forum|alt.badge.img
  • Zapier Staff
  • 29 replies
  • May 20, 2021

@ryandemetz I’m not aware of a workaround yet, but I’ve reached out to some savvy experts to help! I’ll update here if we find more info!

@Henrik Mitsch You've been added to the report!


  • New
  • 1 reply
  • July 7, 2021

We really need to have a success return, failing quietly means that we can't put this into production. Is there a way to return a success/fail value in response to a webhook?


nicksimard
Forum|alt.badge.img+11
  • Zapier Staff
  • 2115 replies
  • July 7, 2021

Hi @mikehar (and anyone else)!

I don’t know if this workaround will be appropriate for your use case, but I found this internal note:


FWIW, my favorite workaround is something like this:

Have a Zap use the existing Webhook trigger, but tell the user that their incoming requests need to pass along "some kind of unique identifier" for each request they send into the Zap (could be a timestamp, made-up number, whatever). Like this:

When their Zap has finished all of the necessary work/processing, use a Storage step at the end , to "return the information", and use that "unique request identifier" as the key:

The user will need to make sure they know/remember the "Secret" that they used, when creating the auth for Zapier Storage - because that will allow them to watch Zapier Storage for that response:

Thus, the entire process is something like this:

  • Some external thing submits a payload of data (with a "unique request identifier" to the Zap's webhook URL
  • The external thing can either poll Zapier Storage, and wait for that "unique request identifier" to "suddenly appear", or the external thing can "just wait a minute" (hopefully long enough), and then try to blatantly grab that key/response from Zapier Storage.

Does that help at all? Also, @mikehar, I’ve added your vote to that feature request. 


  • Beginner
  • 2 replies
  • September 11, 2021

Did this ever get implemented? Would love to be able to do a custom response!


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7472 replies
  • September 13, 2021

Hey @oliphant,

The feature request hasn’t been implemented yet but I’ve added your vote which will help to increase it’s priority! 

I don’t have an ETA on when it will be added but we will email you as soon as it is. In the meantime you may want to give the workaround Nick suggested above try. :) 


  • New
  • 1 reply
  • October 15, 2021

@SamB 
Please add me to the mailing list, I am also interested in this opportunity


christina.d
Forum|alt.badge.img+9
  • Zapier Staff
  • 2653 replies
  • October 15, 2021

You got it! I’ve got your vote added to that request, @Nik ADA. We’ll keep you and this thread updated with any news. 🙂


  • New
  • 1 reply
  • November 1, 2021

Upvote this!


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7472 replies
  • November 2, 2021

Hi @Ewan! :) 

We’ve added your vote to the feature request. We’ll be in touch via email as soon as it’s implemented!


  • New
  • 1 reply
  • November 3, 2021

Hi, can you please add me to this feature request? I would love to take the response object from GitHub and pass through a couple of fields back in response to the catch webhook POST.

 

Thanks so much!


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7472 replies
  • November 4, 2021

Sure thing, @rcmaples! We’ve added your vote for that feature request now. We’ll email you as soon as it’s added! :)


Hi, would love to be notified when this feature is complete, I’d like to add my vote too.

 

Thanks!


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7472 replies
  • November 8, 2021

Hey @Dave.Henderson!

Thanks for reaching out about this. I’ve added your vote for this so we’ll be in touch as soon as it’s sorted. :)