Workflow action to send magic link
-
I have a request from users to be able to send a magic link for a giving contact/group when updates are required or some other criteria happens. This seems like a good option for Workflows, but that isn't an available action. I see there is a Custom Action option. How would we go about creating custom workflow actions?
-
For anyone coming to this later in reference to creating a custom action for workflows, there's a sample in the theme source code: https://github.com/DiscipleTools/disciple-tools-theme/blob/ff8682da970893cd4927f813d45a77e0b9aca77c/dt-workflows/workflows-defaults.php#L39-L52
-
This sounds useful
-
I think the tricky part will be the logic to determine if it has been executed or not. Otherwise it's going to keep sending the same link over and over. Maybe it could store something in the database (post meta data?) that logs the last time it was sent and not send it again for a period of time or until the criteria are not met and then met again (that sounds tricky but most accurate)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login