Airtable

Summary

Lifecycle

gatherInputs {
	if !apiKey ...
	...

	if !isRunnableAirtableV2PodConfig ...
}
exportNotes {
	resp = getPayloadForNotes
	create, update := resp

	// api calls
	chunkAndCall(create)
	chunkAndCall(update)

}

getPayloadForNotes(notes) {
	return notesToSrcFieldMap(notes)
}

notesToSrcFieldMap {
	notes.map n => {
		...
		resp = handleSrcField(note)

	}

}
onExportComplete(opts) {
	records := opts

	if records.created {
		updateAirtableIdForNewlySyncedNotes
	}

}

Reference

Cook

Past Tasks