How to set up email notifications?

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [√] Documentation issue or request

Request

I don’t understand how to set up email notifications in Squidex. I’d like contributors to be emailed when they are mentioned in a comment. The email should include the comment, the content item the comment relates to, and a link to get to it in the Squidex interface. I’m sorry if this is already documented somewhere.

Great product, by the way!

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [√] Cloud version

Browser:

  • [√] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

You can use a rule for that.

On the left side (action) you have “User mentioned” and on the right side (action) you use the squidex email with the $MENTIONED_EMAIL as placeholder for the email address.

But I am working on a new notification system, which will be announced soon. So I hope that in a few weeks it is not necessary anymore. You can then also subscribe to content items or schemas or whatever is interesting for you.

2 Likes

Thanks very much, Sebastian. That worked well. One thing that didn’t work was “$CONTENT_URL” — which I was hoping would point to the item that had the mention related to it.

Great news about the new notification system.

hi Sebastian — where are you up to with the notifications?

When I tag people (in this case myself) in a comment, I want to be able to get to the content item being talked about.

image

Thank you
Matthew

In general notifications are removed from newer versions.

But in your version you can use a the “User mentioned” trigger to send emails via rules.

Hi Sebastian

Some of the fields I include in my rule work, and some are just rendered as ‘null’:


I’m guessing on the ‘COMMENT_TEXT’ one, but the rest are from the documentation: https://docs.squidex.io/02-documentation/developer-guides/rule-formatting

Help please!
Matthew

Hi,

the comment system is generic and independent from content. Therefore not everything is available.

$CONTENT_URL and $SCHEMA_NAME is not available, but ${EVENT_URL} is. Unfortunanetaly it does not contain the host

Please always use this syntax ${EVENT_URL}

1 Like

Thank you Sebastian.

This worked well:

In an ideal world I would also be able to supply the name of the item in the email, but it doesn’t look like that is possible.

Matthew

Perhaps later, the problem is the generic design that makes it hard to implement that.