Optimizely Campaign Trigger
AI-generatedSummary
Operation: Default on Optimizely Campaign Trigger node. Captures webhook events from Optimizely Campaign and outputs payload as JSON array.
Inputs
None.
Output shape
JSON array of the received webhook event body from Optimizely Campaign
node's execute method returns { workflowData: [this.helpers.returnJsonArray(req.body)] }
Examples
Example 1: Trigger on email open event
Set 'events' parameter to 'open'. The node provisions a webhook (POST /optimizely) subscribed to the 'open' event type. When a recipient opens a campaign email, Optimizely Campaign sends the event data to the webhook URL, and the n8n workflow receives the payload as a JSON array on the main output connection.