Send Email Trigger Keywords

Hi there,


What are the keywords for the user in a send email trigger?



It’s been raised before here, but there seems to be no answer:



http://forums.matrix.squiz.net/index.php?showtopic=5133

http://forums.matrix.squiz.net/index.php?showtopic=5133



I want to dispatch an email via trigger that effectively says:


    Hello %globals_user_name%.


This trigger is fired after a session var is met as discussed in this post: http://forums.matrix.squiz.net/index.php?showtopic=5133

EDIT: Well is this a co-incidence. We're looking for something similar at the similar time...

http://forums.matrix.squiz.net/index.php?showtopic=5133

Duncan


We been working on the same thing today.



When a user fires a trigger the following keywords can be used in the trigger email:

%globals_user_attribute_first_name%

%globals_user_attribute_last_name%

%globals_user_attribute_username%

%globals_user_attribute_email%



and probably

%globals_user_attribute_password%



ps was trying to get email on trigger after creating another user, the only keyword we could get working for the new user was %asset_name%

Thanks Nick, unfortunately this doesn't work on my trigger. What version are you on?


This is what I get:



[quote]
Thanks Nick, unfortunately this doesn't work on my trigger. What version are you on?

[/quote]



In Matrix Developer Newsletter #237:

[quote]SEND EMAIL TRIGGER ACTION: SUPPORT FOR GLOBAL KEYWORDS

-----------------------------------------

Added to: 3.23.0 development



Global Keywords such as %globals_asset_xx% and %globals_site_xx% can now be used in the "From", "To", "Subject" and "Body" fields on the Send Email Trigger Action.[/quote]

So this should be available in all 3.24.x releases.

[quote]
Thanks Nick, unfortunately this doesn't work on my trigger. What version are you on?

[/quote]

3.24.5



so yes this works for us

[quote]

In Matrix Developer Newsletter #237:

"Global Keywords such as %globals_asset_xx% and %globals_site_xx% can now be used in the "From", "To", "Subject" and "Body" fields on the Send Email Trigger Action."

So this should be available in all 3.24.x releases.

[/quote]



Unfortunately when using a trigger email from a asset builder:

%globals_user_xx% works they point at the current user

%globals_site_xx% I assume will work they are pointing at the site

%globals_asset_xx% is a little flakey in my experience and points to the asset builder not the asset created

%asset_name% is the only keyword out of dozens tried that related to the asset created

Well that would be it then. Thanks. Time for an upgrade.