How to Create a Virtual Agent Flow for KB Article Generation Using GenAI?

sontamlavan
Tera Contributor

Hi ServiceNow team,

I need to build a Virtual Agent topic where users can create a KB article draft using GenAI (OpenAI/Gemini/Claude).

Requirements:

  1. Ask the user for KB topic & category.
  2. Perform multi-turn Q&A to refine content.
  3. Call GenAI API to generate the article.
  4. Show AI response & allow user modifications.
  5. Once confirmed, create KB article in Draft state.
  6. Notify the user via email after KB Manager approval.

How can I implement this in ServiceNow? What’s the best way to integrate GenAI APIs in Virtual Agent?

 

 
0 REPLIES 0