Skip to main content

I have an app where people can schedule a visit to a certain building. Using the API I created an Event each time someone schedules a visit. This event includes information about the property and also the created date and schedule date.

 

 

I’m trying to use the date_scheduled property to set a workflow that automatically sends an email 1 day before the scheduled date (like a reminder). Is there anyway to achieve this?

I was thinking setting a property to the user like “next_schedule” and using that in the Date Property workflow,  but this can have the problem that if someone schedules 2 visits it can override this property and only send 1 reminder.

Hi @josem7,

Welcome to the Community. 

You can try create a date triggered flow and have it trigger 1 day before the date of the event following our Guide to Creating a Date Property-Triggered Flow.

Or, our date trigger works on the profile level rather than the metric level, this means within your API Call Payload you will need to make use of the Profile Properties section in https://developers.klaviyo.com/en/reference/track-post e.g:
 

{
"token": "PUBLIC_KEY",
"event": "RegisterTest",
"customer_properties": {
"$email": "abraham.lincoln@klaviyo.com",
"DateProperty":"1409592848"
},
"properties": {
"title": "TestPage",
"URL": "www.TestURL.com"
}
}

You would then link the date triggered flow to the DateProperty property and get it to trigger 1 day before that date takes place
 
I hope this helps,

Alex
me?tid=830255&ts=2022-03-17T06:53:12Z&aid=405768584531&oid=klaviyo&uuid=9119027b-bdd2-4853-b3dd-df8c02b37803


Hi @josem7,

Yes the profile property would overwrite but other Community members have gotten around this by setting up their signup forms or whatever the input may be so that this cannot happen and multiple inputs are not recorded.


Thanks Alex I will give it a try!

Wouldn’t it have the problem I mentioned of overwriting the property and hence the reminder? If it would overwrite it, then you should consider creating a flow that works also at the metric level I think it could have some useful applications 😄

 

Thanks for the help

Jose


@josem7 Were you ever able to accomplish this? We are having the same issue - wanting to send reminders to people that may have booked multiple tours. I’m hitting a wall.


Reply