For the specific workflow failure you’re experiencing, here’s the complete solution addressing webhook payload mapping, schema extension integration, and automation workflow configuration.
First, verify your custom fields are properly configured for webhook delivery. In Event Management, navigate to Schema Extensions and confirm each custom field has the ‘Include in API Responses’ flag enabled:
Field: sessionPreference
- Type: String
- Include in API Responses: ✓ ENABLED
- Webhook Enabled: ✓ ENABLED
Next, update your webhook payload mapping. Access Integration Hub > Event Webhooks > [Your Webhook] > Payload Configuration. Add explicit field mappings:
{
"payloadMapping": {
"eventId": "event.id",
"attendeeEmail": "attendee.email",
"registrationDate": "registration.timestamp",
"sessionPreference": "registration.custom.sessionPreference",
"dietaryRestrictions": "registration.custom.dietaryRestrictions",
"accessibilityNeeds": "registration.custom.accessibilityNeeds"
}
}
The key is mapping custom fields using the ‘registration.custom.’ prefix - this tells the webhook handler to pull from extended schema attributes rather than base fields.
For your automation workflow, update the trigger configuration to expect the expanded payload structure. In the workflow definition, add field validations:
- Modify workflow trigger to accept custom fields
- Add conditional logic to handle optional fields (some attendees may not provide dietary restrictions)
- Update downstream actions (email templates, session assignment logic) to reference the new payload structure
After updating webhook configuration, test with a sample registration. The payload should now include:
{
"eventId": "evt_2024_summit",
"attendeeEmail": "user@example.com",
"registrationDate": "2025-03-14T09:15:00Z",
"sessionPreference": "technical-track",
"dietaryRestrictions": "vegetarian",
"accessibilityNeeds": "wheelchair-access"
}
If fields still don’t appear after configuration updates, clear the webhook cache (Integration Hub > System > Clear Integration Cache) and restart your automation workflow. In AEC 2021, the webhook handler caches payload definitions for performance, so configuration changes require a cache refresh to take effect.
One final consideration: if you’re using API versioning, ensure your webhook is configured to use the correct API version that supports schema extensions. AEC 2021 requires API version 2.1 or higher for custom field support in webhooks.