1
2
3
4
5
6
7
8
import { extractData } from "https://esm.town/v/andreterron/extractData";
import { saveToAirtable } from "https://esm.town/v/andreterron/saveToAirtable";
export async function receive_email(email: Email) {
console.log(JSON.stringify(email, null, 2));
const data = await extractData(email);
await saveToAirtable(data);
}
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
v4
October 24, 2023