Skip to main content

Hi!

I can't get any further with a particular implementation and maybe someone can give me a tip.

 

I have the Knowledge base and a custom object (Article_Feedback__c). In the custom object there is a long text field (Feedback from Rating) where agents can give feedback on the article. The custom object is related to the knowledge base object via the master detail.

 

Now I would like to have a summary of all related article feedback records from the field (Feedback from Rating) on the respective knowledge base record, which summarises the good and bad points from the points of the article

 

I wanted to implement this using Prompt Builder/Flow Prompt Builder.

 

I just wanted to ask: Is it actually possible to implement this scenario with declarative tools (Prompt Builder) or do I also need a combination with Prompt Builder + APEX? 

If not, can anyone give me a tip on the best and most optimised way to implement this?

4 个回答
  1. 2024年12月4日 20:45

    @Alexander Cintron ok you can definitely do it with config. Here are steps needed - 

     

    1. Create prompt of type flex which takes in knowledge article id as text parameter. 

    2. Save and Activate the flow. This is required as you cant create flow before you create prompt. 

    3. Now create Template triggered flow where you can select the prompt created in step 1. In this flow, you can query related feedback records based on knowledge article id supplied by prompt. Loop through records and add prompt instructions action for each value. 

    4. Open prompt created in step 1 and reference the flow so it can ground your prompt with feedback data. 

    5. Write new flow which be record triggered flow on feedback object. This flow can invoke the prompt by pass knowledge article id and then save the response of prompt back to article. 

     

    This is doable. Only challenge is not bulkified approach. As long as you are only creating one record at a time for feedback, this should work. Hope this helps. let me know if additional questions.  

    4. 

0/9000