Actions17
- Analytics Actions
- Goodie Bag Actions
- Goody Actions
- Magic Link Actions
Goodie Bag → Create
AI-generatedSummary
Creates a new Goodie Bag associated with a specific event, with optional fields for description, expiration, password, protection, and immediate publishing.
Inputs
- name (required) — Name of the Goodie Bag.
- eventId (required) — The event to associate with this bag. Choose from the list, or specify an ID using an expression.
- additionalFields — A collection of optional fields. Supports: description (string), expiresAt (dateTime), password (string), protection (options: 'public' or 'protected'), and publishImmediately (boolean).
Output shape
A single item containing the created Goodie Bag data (typically including the ID).
Returns a standard n8n item with the API response data.
Examples
Example 1: Create a public bag for an event that expires in one week.
Name: 'Summer Party Goodies', Event: 'Summer Event', Expires At: '2024-12-31T23:59:59Z', Protection: 'Public', Publish Immediately: true
Example 2: Create a protected bag with a password that will be published later.
Name: 'VIP Access', Event: 'Conference', Protection: 'Protected (Magic Link)', Password: 'secret123', Publish Immediately: false