Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confiforms: Send Email to different recipients upon dropdown field selection

Ute Dagostino April 9, 2024

Hi 

I'm trying to send Email to 9 different receipients depending on selection in smart classifier field of registration form, using filter syntax:

field in form: "gruppe" with smart classifier referring to another form with entries: OSW, OSA, OSP...

 

I set 9 confiforms IFTTT Integration Rules for the registration form with 9 conditions:

1) condition: [entry.gruppe.OSW*] and recipient:  [user], OSW@......com

2) condition: [entry.gruppe.OSA*] and recipient: [user], OSA@....com 

.... and so on.

I thought it should ONLY send Mail to OSW@.....com, if OSW is selected.

But unfortunately each time an entry is generated it initates 9 Emails to all recipients, regardless the smart classifier selection.

Is condition wrong?

 

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2024

Hi

What is the field that holds the OSW/OSA, etc values in the form that is referenced through the "gruppe" field?

Alex

Ute Dagostino April 9, 2024

Hi Alex,

it's a predefined dropwon field from another form, displayed with table view.

 

backgroung: 9 different groups (OSA, OSW, OSP..) can offer workshops through a form and the offered workshops are displayed in a table. Through a second form users can subscribe for one of these workshops by selecting group. I want to inform group head about subscription to their workshop, depending on user selection of group. Therfore only the group head of the group OSA for example should receive Mail when OSA is selected. In my case unfortunately all group heads get mail per each user entry. So my condition seems to have wrong syntax

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2024

My question is WHAT is the name of the field in that form, so I can fix the condition for you....

Ute Dagostino April 9, 2024

Ah the name of the predefined dropdown field is just 'Gruppe'. And the field in the subscription form, referring to the Gruppe field in the first form, is called 'Hospitationsgruppe'

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2024

Is it gruppe or Gruppe?

Anyway, based on your previous comment (assuming the field names are correct)

The condition to check if Hospitationsgruppe is OSW

Gruppe.Hospitationsgruppe:OSW

Alex 

Like Jswatch likes this
Ute Dagostino April 9, 2024

without any brackets? 

And I do have to set up 9 IFTTT macros sending Email for each group with the condition: 

Gruppe.Hospitationsgruppe:OSW OSA etc

, right?

And as receiver I set OSW group mail address right?

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2024

If you have a recipient email also registered in the same form where the 

Hospitationsgruppe

field is then you can access that directly... I dont think you even need to check for any value... only checking if the Gruppe is selected

!Gruppe:[empty]

Alex

Ute Dagostino April 9, 2024

no,  recipient Email is not registered in the form. I thought of adressing confluence user registered in our system. So instead of a group Email I would address registered user Email of group head. 

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2024

Why not register it together with the Hospitationsgruppe? So you have a form where you define group's head contact?

Ute Dagostino April 9, 2024

ok would be an option. In this case I have to predefine corresponding email adress but hide from entry form and from table view. Ok I'll try that. 

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2024

There is no need to show it, but you will be always able to access it through

[entry.Gruppe.THISEMAILFIELD]

(from the main form)

And then, all you need is ONE IFTTT to send an email

Ute Dagostino April 16, 2024

Hi Alex,

back from leave I've tried my best but I'm still unable to fix it. 

Option 1):

Doing it by 9 IFTTT with condition: 

 

IFTTT OSW:
condition: Gruppe.Hospitationsgruppe:OSW*
recipient: [user], john.doe@....com
IFTTT OSA
condition: Gruppe.Hospitationsgruppe:OSA*
recipient: [user], tim.defoe@....com

 etc,

produces a mass Mail through all 9 IFTTT to mentioned recipients. So condition has no impact at all.

 

Option 2):  Having a dropwodn field with predefined Email Adresses together with "Gruppe" Field in the main form and only 1 IFTTT in the registry form with recipient: [user], [entry.Gruppe.KontaktEmail] and condition: Gruppe.Hospitationsgruppe:OSW* creates only confirmation Mail to [user]

So in both options I seem to have still wrong conditions.

Would be grateful again for your help!

 

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2024

You only need ONE ifttt with the approach I have suggested… 

Condition to be just !Gruppe:[empty]

Ute Dagostino April 16, 2024

Ok, did it like you suggested but no mail is created:

unnamed.png

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2024

Could you share complete configuration for this IFTTT and for both of your forms?

Storage format will be the best, but may be we can also "debug" it though the screenshots

(or feel free to open a support ticket with us https://wiki.vertuna.com/display/VERTUNA/Support+Request+Form and share those details in a ticket, if it feels more secure)

Like Ute Dagostino likes this
TAGS
AUG Leaders

Atlassian Community Events