How it works
To move data from Supabase to Web Form automatically, use a ready-made scenario — no manual exports.
- Starts when: Form to include slug of the market
- Then: Find the Event ID from the Slug
- Then: Find the Series ID from the slug
- Then: Find All the Events for that Series ID
- Then: Split Events into Itens
- Then: Register Events in Table Polymarket_Btc_1h_Event_List_1
- Starts when: Start Getting Prices Data
- Then: Fetch 100 unprocessed events
- Then: Fetch UP/DOWN tokens and end time
- Then: Store UP/DOWN tokens and end time
- Check: Check if market has closed
- If yes: Mark open markets as processed
- If no: Convert end time to Unix timestamp
- Then: Convert end time to numeric and set start time
- Then: Fetch price history
- Then: Split prices and timestamps into arrays
- Then: Store in Supabase
- Then: Mark as processed
You can launch this Supabase + Web Form integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.