Skip to content

Instantly share code, notes, and snippets.

View Beninetti's full-sized avatar

Brennan Young Beninetti

  • Meow Wolf
  • Austin, TX
View GitHub Profile
@Beninetti
Beninetti / _keywordMatch.js
Last active February 27, 2023 00:55
Airtable Script - Search & Link Keywords To Products
const productsTable = base.getTable("tableId || tableName");
const keywordsTable = base.getTable("tableId || tableName");
const productRecords = await productsTable
.selectRecordsAsync({
fields: [
"fieldId || fieldName", //Product (Primary Field)
"fieldId || fieldName" //Keywords linked record field
]
})
@Beninetti
Beninetti / Special Character Email Creation.txt
Last active January 20, 2023 19:34
A formula written to create an email ready string based on the special character formatted values from separate first and last name fields.
IF(
AND(
{first_name},
{last_name}
),
IF(
REGEX_MATCH(
TRIM({first_name}) & TRIM({last_name}),
"[áàâåæçèéëêîïìñôöòøõùûüýíúşó]"
),