Converting HTTP targets to webhooks

Return to top

106 Comments

  • Drago Markov

    We had a couple of those @Emilie Duveau, turned out the triggers that used the targets contained a deactivated ticket field. Best check if there might be something like this on your instance. In our case we had to activate the ticket field in order to update the trigger, otherwise it would not allow us to update it. Next we deactivated the trigger target & field, as it turned we hadn’t used those in more than a year anyways. Hope that helps.

    0
  • Emilie Duveau

    Drago Markov Hi, thanks for your answer! Sadly, this didn't help, but it turned out that I also get the error when I create a webhook from scratch, the connection test with no link to any trigger doesn't work either. So I'll investigate further.

    0
  • Ahmed

    Hello,

    I have some active targets that use HTTPs urls and have placeholders in the url. They don't use authentication.

    They still don't appear in the list of of targets that can be converted into Webhooks. How can I know what is preventing them from being eligible?

    0
  • Chris Sos
    Zendesk Product Manager

    Hi Ahmed,

    Please note, this conversion process only applies to HTTP Targets. Other types of targets are not being converted at this time.

    Chris

    0
  • Ahmed

    Hi Chris Sos,

     

    Thanks for your reply. My targets are actually URL targets. Does that mean those will not be deprecated and I should just ignore that announcement?

    0
  • Peter Hochstrasser

    Hi Chris Sos

    As I stated before, the automatic conversion of (my) HTTP targets to Webhooks worked great.

    However, I reviewed those targets today and found:

    So, the Username is empty. They all work, so the username has to have been stored, but it just seems a bit odd.

    0
  • Chris Sos
    Zendesk Product Manager

    Hi Ahmed,

    That's right, URL targets are not part of this EOL program. However, I would strongly recommend thinking about moving over to webhooks as targets are more legacy features which may be removed in future.

    Hi Peter Hochstrasser,

    That's right, the credentials are stored but they do not show in the UI. We recognise this isn't ideal as it may seem like the credentials are blank and we have work prioritised to address this coming soon.

     

    Chris

    0
  • Mark Leci

    Jacquelyn Brewer Thank you for clarifying that this doesn't apply to me! Unfortunately, I've wasted a lot of my time looking into this, attempting to work around the missing options to convert and trying to convert targets that ultimately I didn't need to convert because I received repeated emails from Zendesk stating that I needed to do it 

    "Important reminder to convert your Targets to webhooks"

    "You’re receiving this message because you are currently using Targets that need to be converted to webhooks before the discontinuation."

    My feedback is for next time please try not to send repeated important reminder emails to clients unless there is actually action required. 

    0
  • Mark Ellers

    When converting targets to webhooks, will currently active triggers with actions set to notify targets be automatically updated to the respective webhooks, as well?

    I have a large number of triggers, all with unique JSON bodies, so manually updating all of these triggers would be incredibly inconvenient - especially since changing the action drop down selection automatically deletes the existing JSON body.

    It's hard to test this out myself because there's no way to convert a single target at a time without deactivating all other targets.

    Any insight would be greatly appreciated!

    0
  • Chris Sos
    Zendesk Product Manager

    Hi Mark Ellers,

    That's right. All triggers that are using the target will also be updated with the existing JSON body to use webhooks. There should be no need for you to manually update the triggers during this process.

    However, if your triggers can't be updated you'll see this in the conversion log (and the changes will not be finalised). If any conversions fail to occur for whatever reason, everything will continue to work as it did pre-conversion.

    Hope this helps.

    Chris

    0
  • Jose Ortiz

    Is there some way to know (preferibly from the API) the target from which the webhook was created when migrating?

    Thanks in advance

    0
  • Chris Sos
    Zendesk Product Manager

    Hi Jose Ortiz,

    The name and description of the created webhook will be the same as that of the target. There's no specific record of the target in the webhook.

    Chris

    1
  • RichL

    Hi Chris Sos Is there a known limitation or bug regarding Zendesk webhooks and Sunshine API custom objects?

    I always get a 400 Response "Invalid Headers" when using a Zendesk webhook to POST to this endpoint: https://mycompany.zendesk.com/api/sunshine/objects/records

    I was, however, able to setup an old school "HTTP Target" which worked fine with the above endpoint. I was able to create a new object record as intended. But then after successfully converting that HTTP target to a webhook, the resulting webhook would again only produce the 400 "Invalid Headers" response.

    Is this a scenario where support would be able to help me to convert the functional HTTP Target to a Webhook or is there some known/expected limitation with webhooks and Sunshine API?

    0
  • Yaniv Dayan

    Hi Chris Sos 

    Five months ago you wrote "Yes, we will be ensuring placeholder in URL support will be coming before the cutover (at this point, it's a few weeks away but definitely not months). "

    Any update on that? 

    We still cannot convert all our targets to webhooks. 

    Cheers

     

    0
  • Chris Sos
    Zendesk Product Manager

    Hi Yaniv Dayan

    Placeholder support has been available in URLs since September of 2021, apologies if that was not clear. You should be able to convert any targets with URL placeholders.

    Chris

    0
  • Yaniv Dayan

    Hi Chris Sos

    Thanks for confirming it. 

    Converting our targets to webhooks, three targets were not converted. That includes the two Zendesk-Jira App extensions and one URL target (see below).

    Any suggestion?
     

    0

Please sign in to leave a comment.

Powered by Zendesk