Skip to main content
Conversationalist
January 5, 2024
Solved

Run a plugin as soon as the user click on a conversation

  • January 5, 2024
  • 1 reply
  • 116 views

Hello,

 

I am creating a plugin that will suggest to the user a content to its reply based on the previous messages exchanged by the customer

After some tests, I noticed that, using a plugin

  • I am obliged to open the plugin (Sidebar or Composer) to see the draft created with the content suggestion

Now here is what I noticed: User click on a conversation → User open the plugin → the plugin create a draft containing the suggested content

What I want: User click on the conversation → The plugin create a draft containing the suggested content 

Is not possible to run my plugin as soon as the user click on a conversation? Opening the plugin will be to access to additional features

 

Regards,

Mael FOSSO

Best answer by evano

Hi Mael,

Front’s Plugin SDK only sends events to the active, open plugin.  The plugin SDK lacks any functionality to manipulate the state of the plugin tray or the currently selected plugin.  Feel free to request these features on our Product Ideas Portal here:

https://front.ideas.aha.io/ideas

1 reply

evanoAnswer
Fronteer
January 8, 2024

Hi Mael,

Front’s Plugin SDK only sends events to the active, open plugin.  The plugin SDK lacks any functionality to manipulate the state of the plugin tray or the currently selected plugin.  Feel free to request these features on our Product Ideas Portal here:

https://front.ideas.aha.io/ideas

Evan - Lead Technical Support Engineer