Discourse Automation

This group can’t be joined freely but as I’m admin, I can add anybody to this group.
The automation work only when I click manually on the button “Trigger now” (whereas it’s supposed to be automatic every 1 minute)

From the settings I can see on your screen I tried the exact same thing and it was called every minute as expected. Do you have anything in /logs ? Where does Discourse store and show logs?

Nothing happens since 12:14 (it’s 12:30) whereas I just made 2 badges’ attributions, nothing happened. Nobody went to the dedicated group…

1 Like

Can you give me the ID of your automation please? when you edit the automation it should be in the URL.

Here are the 3 automations that does not work anymore

https://playground.lagrowthmachine.com/admin/plugins/discourse-automation/8

https://playground.lagrowthmachine.com/admin/plugins/discourse-automation/7

https://playground.lagrowthmachine.com/admin/plugins/discourse-automation/6

I suspect you have another automation which is preventing other automations to run. Sadly I can’t debug further without having access to the instance.

The other automations are PM sent or adding to a group through custom field.

Would you like to be added as an admin for a while to try to debug it ?

I would like to automatically create a topic every day, but the title and content of the topic should contain things that change, such as the current date.

I can only see a merge tag for creator_username at the moment, are there any other tags available?

Without this, it just would create the exact same topic and title every day which is less than useful.

1 Like

I’m using both the Discourse Automations Plugin and the Discourse AI Plugin, and I was wondering if it’s possible to have AI automatically reply to a new topic as soon as it’s created. I don’t want to rely on the @ mention trigger—just an automatic reply when the topic is posted.

Do you think this is something that can be set up? If not, is it something that could be added in a future update?

Thanks a lot! Looking forward to hearing from you.


Sorry but I can’t select a group, the option is missing
I want a user to select something in the profile field and then be added to a suitable group depending on what he has selected

1 Like

There is no option to set a group name. You create a dropdown field and the option the user chooses is the same as the group name.

Discourse Automation - #118 by Moin

2 Likes

Hi, this has been discussed here and is impossible at the moment:

1 Like

Hey Joffrey! Can you help me with that automations which did not work anymore?

I too have noticed that automation seems to have stopped working, which presumably is associated with a recent update. (currently on 3.5.0.beta3-dev)

In my case the ‘Add user to group through custom field’ no longer seems to be doing anything - the user selects the preferred group name via custom field during sign up, but when approved, those custom fields under the user ‘Groups’ heading remain unpopulated.

Can you try deleting it and configuring it from scratch? If you do so does it start working?

1 Like

Just deleted and recreated. With new instance ticked active, and automation set to run every minute. Also tried ‘Trigger now’

Unfortunately the custom category remains unpopulated for a new approved signup, even after several minutes, & clearing browser cache.

Hi @sam any progress on this?

This sounds more like a signup field / approval bug rather than a problem with the automation plugin.

I recall this getting bugged a few years ago, where signup fields didn’t actually make it into the profile when approval is required.

May I suggest turning off approvals and trying it then?

2 Likes

Thanks @nathank.

What setting am I looking for when you suggest ‘turning off approvals’?

Things seemed to have been working fine with the new user signup process until 3 months ago, looking at the users list, sorted by newness, from which time group memberships stopped being attributed for new signups (it took that long for someone to complain & prompt me to investigate why they were not getting access to the private forum when that was what they had selected on signing up!)

When I click on newly approved user profiles, their custom user field group-name selections are displaying as expected, so that much is working - but the corresponding groups going by those names are no longer being applied to the user.

As far as I know, other than general forum software updates, I haven’t changed anything since setting up the public vs private group system for my forum late last year - so I assume that a subsequent update, perhaps around 3 months ago, is implicated in the issue.