Open svenseeberg opened 2 months ago
Alternative: new / amended Integreat CMS API endpoint that does something special to Zammad.
Do we need other buttons as well? We should probably discuss some kind of "actions schema". Currently, the API response contains a messages
attribute. We could add an available_actions
attribute?
{
"messages": [],
"available_actions": ["request_human", "end_chat"],
}
Alternatively, the actions could be per message, and usually only the actions for the latest message are rendered/shown.
Automatic answers should contain a button "talk to human". This will be normal HTML and the app has to render it as a button that triggers a specific message (i.e. "User wants to talk to human").
Zammad can use this text with a trigger to forward the issue to a human.