How to code birthday greetings in XPLAN
Hi Everyone, we are looking for assistance in coding the birthday email for clients. We need help with setting up coding so that the birthday greeting shows only the client who is celebrating their birthday on that day.
Currently, the coding is showing both the client and their partner names in the email template that goes out to the client. We want to edit the coding so that it only shows either the client name or the partner name.
Can anyone help us with tips on how to edit the coding to achieve the above result?
Thanks!
Hi ewkservice01 - great question!
Here is some code that will help you:
First Name: <:=$recipient.first_name:>
Use it like this:
Dear <:=$recipient.first_name:>,
Preferred Name <:=$recipient.preferred_name:>
Use it like this:
Hi <:=$recipient.preferred_name:>,
You can also add their surname as well:
Dear <:=$recipient.first_name:> <:=$recipient.last_name:>,
Dear <:=$recipient.preferred_name:> <:=$recipient.last_name:>,
You can even get fancy, and check if there is a preferred name first, then use the first name if there isn't a preferred name - use:
Dear <:if $recipient.preferred_name:> <:=$recipient.preferred_name:><:else:><:=$recipient.first_name:><:end:>,
Hope this helps. Don't forget you can insert Email Syntax by clicking the X icon in the tool bar and choosing the field you want to include.
P.s. Hope you are automating the Birthday Card to be sent via scheduler. If you not doing this, and manually sending it - let me know - I'll pop some pointers here on how scheduler can do it for you!
14 Replies
- deborah.kent
Advisely Board
Thanks jessica.lamb for posting this
- jessica.lamb
Advisely Partner
ewkservice01 - The email template (unfortunately) cannot automate itself. So it won't be the email template that is creating the automation.
The email template will be linked to an area of XPLAN that is sending out that template. Scheudular is the most common automation for Birthday Cards. Threads are the next most common.
The only other option is to have manually sent out the card with a 'delay send'. Is that possible?
- ewkservice01Curious Observer
Hi everyone, thank you for the responses. It was very much helpful.
I would like to ask if anyone knows how to cancel automated xplan emails? I would like to cease the automatic sending of birthday greetings.
Thanks!
- jessica.lamb
Advisely Partner
ewkservice01 - It depends on how they are being sent currently.
Emails can be sent from XPLAN via Scheduler. If your emails are scheduled to be sent to the client, you can change the Schedule to 'Inactive' or delete the schedule.
Emails can be sent off the back of a Task. In this case, you can edit the task and remove the email from being sent. This will resolve the emails for new tasks. Any existing tasks would need to be aborted.
Hope the above helps. If not let me know and I can assist further. If you can provide more information on the initial set-up to send out the automated emails I am happy to provide more details on how to turn this feature off.
- ewkservice01Curious Observer
Hi Jessica,
Upon checking the Scheduler and Tasks, the birthday greetings template is not located there.
The template is located in the Template section > Email Templates.
Thank you.
- kenny.foo
Xplan Expert
Hi ewkservice01, further to jessica.lamb's response, be sure to check out this Community article if you'd like to dive deeper into email coding: Xmerge-Syntax-Email-syntax (you need to be logged into Community to view it).
Also, if you don't have much luck with this, please raise a support query on Iress Connect and a helpdesk team member will be able to assist.
- jessica.lamb
Advisely Partner
Hi ewkservice01 - great question!
Here is some code that will help you:
First Name: <:=$recipient.first_name:>
Use it like this:
Dear <:=$recipient.first_name:>,
Preferred Name <:=$recipient.preferred_name:>
Use it like this:
Hi <:=$recipient.preferred_name:>,
You can also add their surname as well:
Dear <:=$recipient.first_name:> <:=$recipient.last_name:>,
Dear <:=$recipient.preferred_name:> <:=$recipient.last_name:>,
You can even get fancy, and check if there is a preferred name first, then use the first name if there isn't a preferred name - use:
Dear <:if $recipient.preferred_name:> <:=$recipient.preferred_name:><:else:><:=$recipient.first_name:><:end:>,
Hope this helps. Don't forget you can insert Email Syntax by clicking the X icon in the tool bar and choosing the field you want to include.
P.s. Hope you are automating the Birthday Card to be sent via scheduler. If you not doing this, and manually sending it - let me know - I'll pop some pointers here on how scheduler can do it for you!
- ewkservice01Curious Observer
Hi Jessica, thanks for your assistance. Can you please let me know if it is possible to test the template within XPLAN so that we know that the coding is correct. Thanks!
- jenny.brown
Advisely Board
ewkservice01 we have a test client in xplan that we test every template on, that way we can see what the client would receive.
Agree with jessica.lamb to use scheduler, it's great and means you can do say a month at a time.
- rainier.reyes
Advisely Team
Welcome to the community ewkservice01 and thank you for your question. I'm sure a coding whizz among us will be able to lend a hand here!
Welcome to the Advisely forums!
This is where financial advice professionals from all walks of life come together to share knowledge, swap ideas, solve problems, and talk all things growth and efficiency.
Here are some tips when posting in the forums:
- Be respectful and courteous to fellow members
- If a reply helped you, mark it as a solution so other users can find it easily
- Take a moment to read through our Community Guidelines
- For Xplan support issues, it's best to raise a ticket in Iress Connect first. You can also search the discussions for posts about the same issue first before starting a new thread.
- Keep an eye out for our 'Ask me anything (AMA)' threads – these are live text-based Q&As with industry and Xplan experts during a set period of time. Find out when the next one is happening here.
- Don’t be shy! You don’t need to be an expert to help someone out. Many users are looking for practical advice, shared experiences, or just a fresh perspective
- Introduce yourself and meet other members here!
We’re glad you’re here – see you around! 😁
Recent Discussions
🤓Xplan Hint: What’s that? There’s predictive search functionality in advanced searches now?
Did you know we just made it easier for you to find the field you are looking for in the search criteria field list? Predictive search is an advanced search functionality that uses smart algorithms t...courtney.youngblutt10 days agoXplan Expert71Views3likes3CommentsXtools+ 'other linked super contributions'
Hi everyone, Does anyone know how to delete or remove linked super contributions within Xtools+ > Individual > Cashflow > Income? I'm working on a scenario where super contributions are linked t...nathan.greenaway12 days agoValued Supporter36Views1like4Comments