## Summary - add a `resend:sync-leads` command that syncs all `user_leads` into the Resend leads segment - make lead sync idempotent by creating contacts with the segment and falling back to adding existing contacts to the segment - schedule the command daily at `03:00` UTC and cover the command/fallback behavior with Pest tests ## Testing - php artisan test --compact tests/Feature/ResendSyncLeadsCommandTest.php |
||
|---|---|---|
| .. | ||
| Commands | ||