Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to populate a Record Producer field using Generative AI based on user selection?

Mohamed_009
Tera Contributor

Hi Everyone,

I am working on a simple Record Producer use case where I want to demonstrate Generative AI capabilities to our customer.

The Record Producer contains only three fields:

  1. Type of Request
  2. Product Recommendation (visible only when Type of Request = Product Recommendation)
  3. Product Summary (should auto-populate)

When the user selects Product Recommendation, they can choose a product from a reference list. Based on this selected product, I want the Product Summary field to be automatically populated using Generative AI.

The product details already exist in a separate table, and the goal is to let GenAI generate a short, meaningful summary instead of fetching data directly with GlideRecord.

Our objective is to use Now Assist Skill Kit / Generative AI to generate the summary dynamically and showcase GenAI features to the customer.

I need guidance on:

  • How to design a Skill in Now Assist Skill Kit for this use case
  • How to pass the selected product record as input
  • How to return only the summary generated by GenAI
  • How to auto-populate the Product Summary field on the Record Producer

Any suggestions, steps, or best practices would be very helpful.

Thanks in advance!

0 REPLIES 0