My goal is to delay the delivery of an email flow to the recipient of gifts from my store.
The user will provide `recipient_email` and `email_send_date` as properties on the Shopify line item.
From what I can tell, there is no way to delay a flow to begin at a specific time, this is why I intend to use another service to delay a call to start the flow.
The issue I’m having is that I’m just not clear on the concepts being used, the language in the documentation does not have some of the concepts I see in the UI.
When I go to set up a flow, it says `What action will trigger this flow?`. So I’m looking for a way using the API to trigger an action, or to even register one.

My question is - what are the relationships between Actions, Triggers, Metrics, Events?
const { URLSearchParams } = require('url');
const fetch = require('node-fetch');
const encodedParams = new URLSearchParams();
encodedParams.set('data', `{"token": ${process.env.KLAVIYO_KEY}, "event": "Foof", "customer_properties": {"$email": "abraham.lincoln@klaviyo.com"}, "properties": {"item_name": "Boots","$value": 100}}`);
const url = 'https://a.klaviyo.com/api/track';
const options = {
method: 'POST',
headers: {accept: 'text/html', 'content-type': 'application/x-www-form-urlencoded'},
body: encodedParams
};
const foo = await fetch(url, options)
const poo = await foo.json()
console.log('foo:'+ Object.getOwnPropertyNames(foo))
console.log('poo:'+ poo)
I thought calling the above code would create `Foof` as an option in my trigger setup.
I can’t tell if my calls are successful, or if I’m calling the right endpoint at all.
I saw in the `klaviyo-node-api` SDK there are nice helpers, but I can’t tell from the documentation in github (https://github.com/klaviyo/klaviyo-api-node) what the shape of `body` should be.