Display a loader while waiting for a response from an outgoing webhook

With a slash command, I am making a webhook request to an internal service, but the response is not immediate. I have configured a slash command to launch this webhook, but until the response is received the message is still editable. Is there a way to have a spinner or a loader because my users are currently sending several times launching several requests to my internal system.

Hi Raphael, thanks for sharing your use case! While I don’t think Mattermost currently has a built-in loader for outgoing webhook responses, you could explore using ephemeral messages to inform users that the request is processing, which might help reduce duplicate submissions. Let us know if you need any further assistance with this!