Sync your migration outreach notes to your CRM
The Your notes box on the migration dashboard is the one thing on a migrated person’s row you write yourself. benecaster_migration_patron_note_saved fires after each save, so this recipe mirrors the note into a CRM.
The note is yours, not the subscriber’s. Benecaster leaves it out of their personal-data export because it may say something you would never send them. Copy it only somewhere your team reads — never to a profile field, a comment or an email the subscriber can see.
A note replaces the one before it; it is not a log. $notes is empty when the note was cleared, so treat an empty string as “delete”, not as “nothing happened”.
Code
<?php
// Mirror each note into a CRM as it is saved.
add_action( 'benecaster_migration_patron_note_saved', function ( int $patron_id, int $import_id, int $show_id, string $notes ): void {
// The note is the podcaster's, not the subscriber's — send it somewhere
// only your team can read. $notes is empty when the note was cleared.
my_crm_update_note( $patron_id, $notes );
}, 10, 4 );
Hooks Used
Need this built rather than just documented? See our services →