Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New feature: Custom Message Actions
The use case
Sometimes we want to create documents using the information in a message - for example, a task, or a support ticket or a note in a CRM system. While a user could copy paste the information, sometimes just performing an action right from the message makes sense.
How it works
Users can create a "Message Action" - this action can either create a new document of a particular DocType, or call a custom API. For example, you might want to create GitHub issues directly from Raven. This seems weird, but Slack offers these as "integrations" with apps like GitHub, GitLab, Jira and Linear - the difference being that we want to make it user customisable.
In the message action, select fields and their default values (like the message content, or the timestamp).
Now if you go to any message, you would see "Message Actions" and clicking on an action will open a popup with the fields autofilled.