Automatic Messaging

AI-generated summary

In a discussion titled “Automatic Messaging” under the Support category, N3DSDude asks if Discourse can automatically message new users who post, comment, or browse extensively — referencing a welcome message example. Lhc_fl clarifies that the send tl1 welcome message setting is enabled by default and triggers when a user reaches Trust Level 1. N3DSDude inquires about linking this message to badges, such as awarding a “New User Badge” alongside the message. not-ethan notes that native integration isn’t possible but suggests using the API to build a custom solution. Lhc_fl adds that the welcome message coincides with TL1 promotion and that default badges tied to trust levels can be modified or copied via Badge SQL. Lilly points out that the basic user badge already exists for this purpose. N3DSDude then asks if users could be messaged and awarded a badge after simply reading for 10 minutes. Lhc_fl explains that badges can be created via Badge SQL, but automated messaging requires the Discourse Automation plugin, noting that Badge SQL runs daily, which may cause delays. N3DSDude confirms that the plugin would allow sending messages like the initial example, and Lilly shares the plugin’s documentation link.

Hello, was wondering if there’s a setting in Discourse that automatically messages new users who post/comment/browse a lot, for example in the image below:

I would like to set this up in my Discourse community as well.

This setting is theoretically turned on by default. It is send tl1 welcome message in site settings.

Thanks, I was wondering if there was a way to link it to badges, like for example a TL1 User gets the welcome message and then a New User Badge on their profile.

Unffortently there is not. You are able to make a program using the API to do this though

This message is simultaneous with the promotion of TL1. There are default badges based on trust levels. Therefore, you can modify the badge, or copy its badge SQL and create a new one.

this is literally the basic user badge is it not?

Ahh, let’s say a Discourse user on my Discourse community had been reading posts for 10 minutes, would it be possible for them to get automatically sent a message congratulating them and get assigned a badge at the same time for reading for 10 minutes or that wouldn’t be possible?

Badges can be done natively using Badge SQL. If you need to send messages, you have to install the Discourse Automation plugin

But it should be noted that the badge SQL queries is executed daily. This may cause some delays…

Ahh, and the Automation Plugin would allow me to send messages like the one I initially got right?