Make me a Vercel Workflow
Budget: $5.0
FIXED /
⭐ 5.00 (3)
Egypt
automation, api
Qualifiche preferite
- Esperienza: Intermedio
I want to make a Vercel Workflow using workflow sdk, the goal of the workflow is to move data from API to my database, the challenges are the API not give you all data in one query, it gives you 250 max of records per request, and max time filter of 1 year, and it comes with cursor for pagination,
so I have these server actions:
- getFirstAppEvent() which give me the date where I start from
- getAppHistory() that's the core one and it gets params :
partnerId,
accessToken,
appId,
cursor,
occurredAtMin,
occurredAtMax,
- ingestAppHistory () takes the events and ingest it into my database
I want the Workflow to split into windows of 90 days and each window be a child workflow
and want the workflow to handle errors like accessToken got invalid in the middle of the sync ( so we make a Human in the loop ) and so on... so at the end I have a production ready workflow that sync all app events from API into my db ,
and then will make a simple workflow after that to keep data in my db up to date ( simple workflow run every 24 hours ) call my db to get latest event date and start syncing
let me know if you can handle this job and time frame,
Apri su Upwork
AI proposal draft
Generate a short cover letter for this job. Edit before sending.
Sign in to generate an AI proposal draft.
Accedi