[Documentation](https://groundhogg.io/documentation/) » [Action Hooks](https://groundhogg.io/documentation/#doc-action-hooks)

# groundhogg/contact/created

Published Tuesday, June 9, 2026 · Last updated Tuesday, June 9, 2026

Fires when a brand-new contact record is created via `Contact::create()`. At this point the contact exists in the database, its locale has been set, and consent data has been handled.

```

do_action( 'groundhogg/contact/created', $contact );
```

You will receive the newly created `Contact` object.

## Example

```

add_action( 'groundhogg/contact/created', 'my_extension_sync_new_contact' );

/**
 * Push a new contact to an external CRM when they are created.
 *
 * @param \Groundhogg\Contact $contact
 *
 * @return void
 */
function my_extension_sync_new_contact( $contact ) {
    my_extension_api_request( 'POST', '/contacts', [
        'email'      => $contact->get_email(),
        'first_name' => $contact->get_first_name(),
        'last_name'  => $contact->get_last_name(),
    ] );
}
```
