> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.posthog.core.NewActionEvent

- Component: `appmixer.posthog.core.NewActionEvent`
- Kind: Trigger
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.posthog 1.1.0](https://connectors.appmixer.com/connector/appmixer.posthog/1.1.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.posthog/1.1.0/component/appmixer.posthog.core.NewActionEvent>

Triggers when PostHog delivers a matched event to this component's webhook URL. Setup: start the flow, copy the webhook URL from the flow log, then in PostHog create a realtime destination (Data pipelines → Destinations → HTTP Webhook) pointing to that URL, optionally filtered by an action.

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Event Name (`event`) | string | - |
| Distinct ID (`distinct_id`) | string | - |
| Event UUID (`uuid`) | string | - |
| Timestamp (`timestamp`) | string | - |
| Event Properties (`properties`) | object | - |
| Person (`person`) | object | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.posthog.core.NewActionEvent",
  "description": "Triggers when PostHog delivers a matched event to this component's webhook URL. Setup: start the flow, copy the webhook URL from the flow log, then in PostHog create a realtime destination (Data pipelines → Destinations → HTTP Webhook) pointing to that URL, optionally filtered by an action.",
  "author": "Appmixer <info@appmixer.com>",
  "version": "1.0.0",
  "trigger": true,
  "webhook": true,
  "auth": {
    "service": "appmixer:posthog"
  },
  "outPorts": [
    {
      "name": "out",
      "schema": {
        "type": "object",
        "properties": {
          "event": {
            "type": "string",
            "title": "Event Name",
            "example": "$pageview"
          },
          "distinct_id": {
            "type": "string",
            "title": "Distinct ID",
            "example": "user-42"
          },
          "uuid": {
            "type": "string",
            "title": "Event UUID",
            "example": "018e3b3c-7c3e-0000-8a2a-56d9b1a2c3d4"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "title": "Timestamp",
            "example": "2025-01-15T10:30:00Z"
          },
          "properties": {
            "type": "object",
            "title": "Event Properties",
            "example": {
              "$current_url": "https://example.com/pricing"
            }
          },
          "person": {
            "type": "object",
            "title": "Person",
            "example": {
              "id": "018e3b3c-7c3e-0000-8a2a-56d9b1a2c3d4",
              "properties": {
                "email": "jane@example.com"
              }
            }
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
