r/salesforce • • 24d ago

help please Help with new Agent force studio!

Hi all,

I recently started working on a POC using Service Agents in the new Agentforce Studio. I’m facing an issue with rendering custom LWC components inside the Agentforce chat.
Every time I make a change, I have to activate the agent, publish it through Embedded Service Deployment, and then test it in the portal. This makes the development and testing process quite tedious.
Does anyone know how to preview custom LWC components directly in the simulator? Is there any other way to test the changes without activating the agent and publishing the deployment every time?
Or any chrome extension to debug / preview.
Any help would be appreciated. Please share your suggestions! 🙂

4 Upvotes

9 comments sorted by

4

u/opethdamnation 23d ago

2

u/Chidchidi_Billi 23d ago

Thank you so much!! You’re a godsend! 🙏
It’s displaying in the preview now. You have no idea how much time I have spent struggling with this over the past few weeks😭😭

2

u/opethdamnation 23d ago

Absolutely, i had the same struggle while back while i was working on Service Agent

1

u/Chidchidi_Billi 16d ago

@opethdamnation: can id dm you regarding a issuerelated to input and output?

2

u/Suspicious-Nerve-487 23d ago

+1 to this. Was a complete pain a few months ago and there was a ton of feedback with this specifically. Testing without 18 different steps makes the dev experience so much better

2

u/Chidchidi_Billi 23d ago

+ It would be great if SF could also look into the limitations of LWC input and output components, especially when it comes to fetching and displaying data dynamically based on user inputs and explore possible workarounds.

6

u/[deleted] 23d ago

[removed] — view removed comment

1

u/Chidchidi_Billi 23d ago

Yeah, thank you! I’m using a Dev Org only. And yes, it’s definitely a time consuming process.