Skip to main content
Solved

How to import articles in bulk?

  • March 3, 2022
  • 1 reply
  • 72 views

We have over 500 knowledge articles in another system. Many of them have inline images. We want to import them into insided community. Is there a way to import these articles in bulk while retaining the images?

Best answer by tom.shaddock

Hey @varunna so it looks like you’ll need this API endpoint: https://api2-us-west-2.insided.com/docs/community/#operation/createArticle as it allows for the creation of articles for certain categories, there is no bulk create option but you should be able to loop over this endpoint and create content for certain categories that way.

In regards to the images - if you submit the payload ‘content’ as HTML, the images (if externally hosted somewhere) should all be preserved ok and will display in the article content as normal.

I’d recommend you testing this out first though on your staging environment to ensure that there are no HTML tags / classes that may clash with the platform default styles (by inheriting unwanted styling rules).

 

View original
Did you find this topic helpful?

1 reply

tom.shaddock
  • Gainsight Employee ⭐️⭐️
  • 117 replies
  • Answer
  • March 4, 2022

Hey @varunna so it looks like you’ll need this API endpoint: https://api2-us-west-2.insided.com/docs/community/#operation/createArticle as it allows for the creation of articles for certain categories, there is no bulk create option but you should be able to loop over this endpoint and create content for certain categories that way.

In regards to the images - if you submit the payload ‘content’ as HTML, the images (if externally hosted somewhere) should all be preserved ok and will display in the article content as normal.

I’d recommend you testing this out first though on your staging environment to ensure that there are no HTML tags / classes that may clash with the platform default styles (by inheriting unwanted styling rules).

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings