[Chat Widget] - Is it possible to enable the attachment icon for certain journeys (like enable it only when the chat has been transferred to live agent?)

Is it possible to enable the attachment icon for certain journeys (like enable it only when the chat has been transferred to live agent?)
The usecase is to enable attachment icon on web bot and SDK only when the live agent has been connected.
Is this possible?
Platform: App
Widget: V2

Namaste @Dimple_Mehta

You can disable Attachment in Chat widget settings, and make use of File prompt node wherever needed (screenshot attached).

However, you won’t be able to trigger it during an agent conversation. We need to check if Inbox has any agent action for this, as the prompt needs to be triggered by agent based on requirement.

1 Like

Hey @akshay_bhat
As we discussed on slack, it won’t be feasible as it’s on app and the bot is not having control once the agent conversation has started.
Raised the FR for the same.
Thanks!

Noted. We will update you on Jira once we freeze roadmap for Q1 2023.
Thank you!

Namaste @Dimple_Mehta

Agent actions is basically an agent triggering a journey from Inbox. Can you create a basic flow with file prompt node, and make use of it in agent actions? Agents can trigger this when they want users to upload a file. Try and let us know if this works.

1 Like

We are using the following code to show the file upload prompt.
The same code works for v1 widgets, however, it does nothing on v2 widgets.

I’m using the code mentioned below:

app.sendQuickReplies({
title: ‘Please upload your File.’,
options: [
{ title: ‘Upload’, upload: ‘upload’ }
]
},
{ hideInput: true }
)

Here’s the screen recording for the behaviour on V1 and V2 widgets.