Improve site publish webhook

Dear Webflow Team


Please improve the site publish webhook. 
I propose to add this fields:
- Destination (where it was published to e.g. the "domain")
- Username (which account did trigger publish)
- Action (was it "published" or "unpublished")

Regards
Patrick

  • Stone Age
  • May 29 2019
  • Shipped
  • Jack Ketcham commented
    25 May, 2023 04:21pm

    I would add to this also getting webhook events when a site is reverted to a prior version, which breaks CMS collections, and so requires re-syncing CMS collection IDs to any externally kept data. If there was a webhook event for that, I could automatically trigger a re-syncing process.

  • Admin
    Webflow Admin commented
    2 Jun, 2022 09:56pm

    Shipped—API and Webfhook updates


    • Item Unpublish Webhook - The collection_item_unpublishedwebhook has been added so you can be notified when an unpublish is triggered.

    • Site Publish Webhook - The site_publish webhook now includes domains and publishedBy, so you don’t have to wonder anymore who and what was published.

  • Foxcove IT commented
    8 Feb, 2022 10:31am

    Look forward to the above updates to publishing webhook.

  • Oliver Thamm commented
    29 Jan, 2021 09:34am

    I agree on all accounts as well!

    Plus, if you wanna be extra nice, include your webflow.com domain as a HTTP referrer in the header, so I can whitelist you guys. Right now I am just receiving your always different AWS IP addresses as sender info.

    C&P of my question on yor Discord, Brendan sent me here.
    oliver-didntbreak-comYesterday at 12:05 PM

    Hi, in your webhook events could you please include an indication about the destination that it deployed to? Ideally the URL host name. http://developers.webflow.com/#trigger-types[12:07 PM]rn I don't have a way of telling whether the deployment went to "projectname.webflow.io" or my actual domain (or both), is that correct or am I missing something?

  • Hyphae Admin commented
    17 Sep, 2020 10:20pm

    I agree on all counts ! But I put emphasis on which DOMAIN the publish action happened to and also whether UN-publish or PUB-lish : )

    Please please please!

  • +6