We now support the edit_connector webhook event for manual or automatic connector status changes. Namely, this webhook event is raised for setup-state and schema-status property changes, which are reflected in editType.The following edit_connector webhook events are shown below as being relevant for the How to Set Up a Schema Before the Initial Sync use case.
{
event: 'edit_connector',
// ...
editType: 'UPDATE_SETUP_STATE',
properties: { setupState: 'connected' },
oldProperties: { setupState: 'incomplete' }
}
{
event: 'edit_connector',
// ...
editType: 'UPDATE_SETUP_STATE',
properties: { setupState: 'broken' },
oldProperties: { setupState: 'connected' }
}
{
event: 'edit_connector',
// ...
editType: 'UPDATE_SCHEMA_STATUS',
properties: { schemaStatus: 'blocked_on_capture' },
oldProperties: { schemaStatus: 'ready' }
}
{
event: 'edit_connector',
// ...
editType: 'UPDATE_SCHEMA_STATUS',
properties: { schemaStatus: 'blocked_on_customer' },
oldProperties: { schemaStatus: 'blocked_on_capture' }
}
{
event: 'edit_connector',
// ...
editType: 'UPDATE_SCHEMA_STATUS',
properties: { schemaStatus: 'ready' },
oldProperties: { schemaStatus: 'blocked_on_customer' }
}