Avatar

nerdymomocat

Joined January 4, 2024
Public vals
5
nerdymomocat avatar
add_to_habitify_from_todoist_w_ai
@nerdymomocat
Cron
// if you added new items to habitify after running this script
nerdymomocat avatar
add_to_notion_w_ai_webpage
@nerdymomocat
HTTP (deprecated)
Example usage of the add_to_notion_w_ai val Try with the money database . Read and watch the demo run here
nerdymomocat avatar
add_to_notion_w_ai
@nerdymomocat
Script
Uses instructor and open ai (with gpt-4-turbo) to process any content into a notion database entry. Use addToNotion with any database id and content. await addToNotion( "DB_ID_GOES_HERE", "CONTENT_GOES HERE"//"for example: $43.28 ordered malai kofta and kadhi (doordash) [me and mom] jan 3 2024" ); Prompts are created based on your database name, database description, property name, property type, property description, and if applicable, property options (and their descriptions). Supports: checkbox, date, multi_select, number, rich_text, select, status, title, url, email Uses NOTION_API_KEY , OPENAI_API_KEY stored in env variables and uses Valtown blob storage to store information about the database. Use get_notion_db_info to use the stored blob if exists or create one, use get_and_save_notion_db_info to create a new blob (and replace an existing one if exists).
nerdymomocat avatar
add_to_notion_from_todoist
@nerdymomocat
Cron
Use todoist for quick notes to add to notion. Uses project to decide which project to fetch to add stuff to notion. Can add to page or database based on config below. Demarkation using sections in the todoist project. Extracts date for page blocks that are added as callouts.
nerdymomocat avatar
notion_paperpile_detail_filler
@nerdymomocat
Cron
An interactive, runnable TypeScript val by nerdymomocat
Next