Global search and replace HOW TO?


  • Carsten Falborg
    Community Moderator

    HI Daniel

    With standard Zendesk you can search for the word with normal search, but you have to do a manual replace.

    Nobody has created an app for this, but i guess you could use the API for a search and replace function.

  • Ross McLanachan

    Hi Carsten

    Wondering if this functionality has been added into Zendesk during last two years?

    We have a similar exercise to undertake, to find/replace (in a controlled but automated way) certain text strings within our Knowledgebase of 700+ articles.

    Does this functionality exist now?


    Many Thanks



  • Karsten M. Jensen

    Bump! A very desired feature.

  • Brett Bowser
    Zendesk Community Team

    Hey Karsten,

    Thanks for sharing your feedback! This is not possible natively at this time so I would recommend creating a post in our Guide Product Feedback Forum to help gauge interest from other users as well as gain visibility form our Product Managers.

    In the meantime, you can utilize our API to accomplish what you're looking for. I've attached the following links which I believe you'll find useful:

    I hope the above information helps!

  • Todd Baker

    Hey Brett!

    Can you clarify the Update Articles API docs for me?

    This text leads me to think that the endpoint can only change metadata about an article:

    "These endpoints update article-level metadata such as its promotion status or sorting position. The endpoints do not update translation properties such as the article's title, body, locale, or draft."

    If this is the case, how would one use the API to do a global search and replace?


  • Greg - Community Manager
    Zendesk Developer Support

    Hi Todd Baker, good question! To actually update the article's body, you would need to use the Translations endpoint, since every article is technically a "translated version" even in a single-language help center. As you can imagine, if you have multiple languages, updating the article body through the Articles endpoint would present some problems.

    Sorry for the confusion in the previous post, but please let me know if you have any more questions and I'll be glad to help!

  • Marina Gu

    Is there an update here? 

    A developer on our team has said the Zendesk APIs don’t allow us to update the article body, so we aren't able to create the search/replace function ourselves. 

    This is very very needed! Obvious functionality to offer for knowledge base software. 

  • Kay
    Community Moderator

    Marina Gu

    Yes you can update an Article's body via this API

  • Marina Gu

    Thank you, Kay!  Very helpful.

    That wasn't clear from the article update API documentation - may be worth clarifying in that section of the docs. 


Please sign in to leave a comment.

Powered by Zendesk