Agent script or?

I'm not really sure what category this would be asked in so I guess it'll fall here.

I need to be able automate copying to a clipboard the customer participant data. Is there an ability to do this within an Agent Script? Can we embed javascript in Agent Script?

If there's documentation on any kind of customization using javascript on the agent web desktop, please let me know.

You can't put JavaScript directly in the script, but you can put a Web Page script component in the script that loads your custom HTML page that does the things you want to do there. You might be able to get away with sending the info you want to copy as query params into the page's URL. If you can't, the app will have to complete an OAuth flow to authorize it to use the API to get the data you need from the conversation.

1 Like

This is good, thank you. But is there a way to disable the scroll bar? The page resizes to the iframe, but that scroll on the right is always there.

Can this custom HTML page be local to every agent's desktop so we can put a file:/// url? I tried to no avail, but maybe I'm not doing it correctly. Or is it just not supported?

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.