Discourse Automation

@hazenbiz my plugin can do that for you automagically:

2 Likes

The ‘Triage posts using AI’ automation can do that for an advanced option, though using the Tag option in watched words may also be of some use to you for a simple ‘keyword in OP = add tag’

1 Like

Does the Add user to group through Custom User Field automation handle custom user field of type Confirmation? I have the user field and category names matching, however accepting the field does not assign the group.

Additionally, does that scrip also handle removing the user from the group when the selection changes? I’d like to make sure the category is only accessible to people who agree to a policy, etc. so if they change their option at a later date, they get booted from the group, is this possible?

1 Like

Hi, I see there is a Stalled topic trigger but I see no script using it, am I right? Thanks

I think that one is in the user global notice script.

You are right, thanks

1 Like

Aw nuts. I hoped to assign people to a group based on a preference—with a yes/no answer—not by picking a group name.

2 Likes

Yes I would love this improvement too.

Can you expand on what you would want here exactly please?

1 Like

Yes, as the scripts stand at the moment, it doesn’t seem possible to me to include members in a group according to the value of a user field, if this group name is not equal to one of the values of this user field, which poses a problem in a very simple case, if you have a user field which is a question by which the user answers yes or no, the corresponding group would therefore have to be named yes or no. If I understand correctly, this is not satisfactory. We should be able to choose the group with a simple condition, for example, if answer yes, then this group, if answer no, then that group.

1 Like

My initial use case would map to a question with a yes/no answer.

I could also imagine multiple-choice scenarios, where you’d want to label each option descriptively.

3 Likes

This seems feasible…

Do you consent to the foo_agreement?
answers: foo_consent, foo_no_consent
It doesn’t roll off the tongue quite as nicely as yes and no, but it gives a descriptive group name useful down the road.
Doesn’t make for a smooth @tagging experience later when you want to address the group.

1 Like

Sorry to ask this, but where exactly do I find the settings for this?
I’m using currently v3.2.2 - I assume this already has Discourse Automation included?

Correct, its is included in core. To be able to use the plugin you first have to enable it from /admin/plugins. Ensure the plugin state is ‘Enabled’ like so

Writing with a mouse is difficult :rofl:

1 Like

That functionality exists in the Custom Wizard Plugin 🧙 already. It does need to be triggered by some user interaction, but that would seem fine for your use-case.

3 Likes

Thanks, but I don’t find it there. Maybe it was added after v3.2.2? How do I find out? The release notes do not mention it (or I missed it).

Thanks for the tip! It seems like the native functionality is almost there, and I prefer not to load up on plugins if I can help it, but the Custom Wizard Plugin looks like a good option if I have to press on.

1 Like

A post was split to a new topic: Triggering a AI generated reply when people post

Does the “Recurring” still work? It does not for me.
I’ve setup “Every 1 minute” and it does not work.

I just tried it and I can confirm it works. Both the recurring trigger and the the group membership through badge script.

Are you sure this group can be joined?