gca_should_reprocess_existing_record
Description
Filter whether processing a feed again for an entry that has already been added to Airtable updates the existing Airtable record with the feed’s current field mappings. By default the entry is skipped, so that a retry never creates a duplicate record. When this returns true, the stored record is updated with PATCH: the fields the feed maps are overwritten with the entry’s current values, while fields the feed does not map, and mapped fields whose entry value is empty, are left unchanged. If no fields remain to send, no request is made, the Updated time is preserved, and gca_entry_reprocessed_in_airtable does not fire. This applies whether or not the feed’s “Update & Delete Records” setting is on. If the record was deleted in Airtable, the update fails and is retried like a failed add; no new record is created.
Usage
Applied globally
add_filter( 'gca_should_reprocess_existing_record', 'my_custom_function' );Applied to specific form
add_filter( 'gca_should_reprocess_existing_record_FORMID', 'my_custom_function' );Applied to specific feed
add_filter( 'gca_should_reprocess_existing_record_FORMID_FEEDID', 'my_custom_function' );Parameters
$should_reprocess
bool
Whether to update the existing Airtable record. Default false.
$entry
array
The entry being processed.
$feed
array
The feed being processed.
Since
1.0.5Hook added.