최근 검색


최근 검색 없음

Bulk Updating and adding a Tag in Macros



2023년 1월 25일에 게시됨

Hello Zendesk Devs! 

 

I am looking to update all 17K of the macros we have in our instance and am looking for a good way to do this. 

I've seen documentation on updating the description but what I'm looking for is:

  • a way to add the actions of "add a tag" and whatever tag I need associated with the particular Macro

Can anyone help me out with this? 


2

1

댓글 1개

image avatar

Christopher Stock

Zendesk LuminaryCommunity Moderator

Hey Gabriel Ortiz. You'll likely need to leverage the Ticketing API to do this. I suggest a three step approach:

  1. Use the API to export all your macros to a csv file, remembering to include the 'id' field.
  2. Update the csv file with a new column that will contain the tag you want to add for each macro.
  3. Use the API to update your macros (using the csv file), setting the 'add_tags' action for each macro to be the tag value in the csv file. 

There's a list of API clients here that you could look at to get started, or you can write your own code.

1


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물