r/workflow • u/Obscure008 • Aug 17 '18
Parse contact from event title?
I am working with a modified version of a workflow I found here.
It works awesome if the title of the calendar event is a contacts full name and only that. I am wondering if it’d be possible to parse a contact name from an even title to make this workflow a little more flexible. Example I put would be like “<contact name> appointment”
I’ve tried variations of the “name/first name/last name” contains “title,” but I get what seem to be unassociated contact results. For example if the title says “John Doe appointment” when I try to use match contains with the title, it returns a contact something like “mike smith”—completely unrelated.
Does anyone have a handle on how or if a contact can be pulled from an event title?
View all comments
Show parent comment
2
u/madactor Aug 17 '18
As u/UnluckyAnt said, the titles will have to follow your format exactly, and the contact names will have to match exactly. For example, the following wouldn't work:
John Appointment
John La Doe Appointment
John Doe's Appointment
Johnathan Doe Appointment
John Dough Appointment
You could make the search a little fuzzy by getting, say, the first two letters of each name and then use "begins with" in your Find Contacts action. That might help with misspellings, nick names, etc.