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 attach files using Virtual Agent

Community Alums
Not applicable

Hi there,

I'm still a beginner regarding ServiceNow scripting and development, and I'm currently exploring the Virtual Agent. For an evaluation project in my company, I would like to create a full-blown test conversation ("Create idea"). An essential part of this conversation is to ask the user for a file to be attached to the newly created Idea record. And this is my problem: I already searched the documentations, but I was unable to find instructions about how to attach files (other than just images). The VA should provide a normal upload option (similar to the image selection) and then attach it to the new record later on.

How can I do that? Shall I use a Script Action? If yes, how can the script look like?

Thanks a lot!

1 ACCEPTED SOLUTION

Inactive_Us1656
Giga Contributor

Hi,

 

Please refer below thread that might be helpful.

 

https://community.servicenow.com/community?id=community_question&sys_id=a925de95dbc5f780fece0b55ca96...

 

Please mark it as correct and helpful if its helps you

View solution in original post

2 REPLIES 2

Inactive_Us1656
Giga Contributor

Hi,

 

Please refer below thread that might be helpful.

 

https://community.servicenow.com/community?id=community_question&sys_id=a925de95dbc5f780fece0b55ca96...

 

Please mark it as correct and helpful if its helps you

Community Alums
Not applicable

Thank you so much for the information! I had hoped to find a way in Madrid, but it's also good to know that it is at least planned for New York.