User Birthday Verification action #130
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR consists of a newly created Flow action whose details are given below:
A) Name: User Birthday Verification
B) Description:
This is a reusable Flow Action that checks whether today is a given user’s birthday and returns:
( Note: This action compares the dates and gives you the result. It doesn't send the email itself. You can easily use it inside a Flow to send a greeting email only when is_birthday is "true".)
C) Pre-requisite:
The sys_user table may need creation of a custom field called Birth Date (u_brith_date) which stores all birth dates of users.
D) How it works:
E) Let's explain with some examples:
"isBirthday": "true",
"message": "Today is Soumyadeep's birthday!
"isBirthday": "false",
"message": "Today isn't Soumyadeep's birthday!
"isBirthday": "false",
"message": "Birth date not found"