Trigger for replying to emails

Hi
I have a custom form asset which customers use to send us questions. It has an auto reply that says the standard 'thank you for contacting us'



I would also like an auto reply to be sent to the customer 3 days after the original email that would have a different message



Is this possible?



Thanks

Tim

[quote]
Hi

I have a custom form asset which customers use to send us questions. It has an auto reply that says the standard 'thank you for contacting us'



I would also like an auto reply to be sent to the customer 3 days after the original email that would have a different message



Is this possible?



Thanks

Tim

[/quote]



something like this should work:



set up a trigger to fire when form submissions are created under that form, and make the trigger action 'set future status' for 3 days time and make it 'up for review' or something.



set up a second trigger to listen for the 'up for review' status change on the form submissions, and restore the status/send an email with different content

Hi
thanks a lot for that

I've set up the triggers but this is part where I'm struggling with "send an email with different content"

How would I be able to set the recepient of the email to be the person who submitted for the form?



Do I need to use the "Recipient Source" field?



thanks

Tim


[quote]

something like this should work:



set up a trigger to fire when form submissions are created under that form, and make the trigger action 'set future status' for 3 days time and make it 'up for review' or something.



set up a second trigger to listen for the 'up for review' status change on the form submissions, and restore the status/send an email with different content

[/quote]

[quote]
Hi

thanks a lot for that

I've set up the triggers but this is part where I'm struggling with "send an email with different content"

How would I be able to set the recepient of the email to be the person who submitted for the form?



Do I need to use the "Recipient Source" field?



thanks

Tim

[/quote]



Assuming email address is a question on the form, just add %asset_question_answer_XXXXX_qX% to a "To" field in the General email settings.



If you're sending an email to an actual user though then selecting "recipient asset IDs" in the recipient source and picking "current_asset" "Keyword" and entering "asset_created_by_assetid" would probably work.

Setting the recipient is where the problem is. Using %question_answer_XXX_qY% doesn't pull in the email address.


I had a somewhat similar situation and I used roles to overcome this (see http://forums.squizsuite.net/index.php?showtopic=8245). It doesn't look like there is a better solution at the moment :confused:

[quote]
Setting the recipient is where the problem is. Using %question_answer_XXX_qY% doesn't pull in the email address.

[/quote]



%question_answer_XXX_qY% won't pull in anything, it needs to be %asset_question_answer_XXX_qY% :wink:



If you were already doing that then I don't know what to suggest.

[quote]
%question_answer_XXX_qY% won't pull in anything, it needs to be %asset_question_answer_XXX_qY% :wink:



If you were already doing that then I don't know what to suggest.

[/quote]



Yeah, tried it, but it doesn't work.