Nuenni
(André )
1
H folks,
I have 2 Discourse forums running with automations.
Community 1
Ony my first community it runs without any automation problems in make.com.
This automation sends the “Activate your account” welcome email.
Community 2
I wanted to set up an N8N Workflow for this Community (instead of make), and the user is fully created in discourse.
Here is a picture of the admin panel:
But the system sends no email.
Here is my JSON:
{
"email": "{{ $json.body.member.current.email }}",
"name": "{{ $json.body.member.current.name }}",
"username": "ToolGuide{{ Math.floor(10000 + Math.random() * 90000) }}",
"password": "{{ $json.body.member.current.uuid }}",
"active": "true",
"approved": "true"
}
In the output, it confirms the crearion:
[
{
"success":
true,
"active":
true,
"message":
"Dein Konto ist nun freigeschaltet und einsatzbereit.",
"user_id":
13
}
]
The Problem with Community 2
The new User doesn’t get any email to activate his new account in discourse ;-(
I tried the manual registration with link and then i get the email, that worked fine.
On this Community 2 I have invite only activated, the api user is system with global rights.
Any ideas or suggetions?
Thx for help and greetings from Germany!
RGJ
(Richard - Communiteq)
2
I would guess that since you’re passing "active": "true"
the user is already being activated?
4 Likes
Nuenni
(André )
3
Yes this is my setup what I copied from make there are the same approved and active with true variables.
I testet N8N with false. The I need to approve manually and the email for welcome and activate isn’t send too.
But today I got the reminder on my test email
To activate only the initial welcome to activate email is missing
RGJ
(Richard - Communiteq)
4
Can you see it in Admin - Emails - Sent?
Nuenni
(André )
5
No there I can’t see it either it’s not triggered but why
merefield
(Robert)
6
I don’t believe active users are ever sent the email, so set active to false.
2 Likes
Nuenni
(André )
7
Hey Robert,
youre right. I testet it with “false” on active and i get the email when the N8N Workflow runs. So i controlled the Make.workflow have a look:
ACTIVE USERS. TRUE
LOG CONTROL
When i look into the log it gives me this back:
Why it sends me this back i dont know, as i sad in make. with “true” it worked fine
So thanks for solving it !
1 Like
system
(system)
Closed
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.