Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

1.1 KB
Raw Blame
import { processEvent } from '.'

import { LegacyTransformationPlugin } from '../../types'

// NOTE: This is a deprecated plugin and should never be shown to new users
export const posthogAppUnduplicator: LegacyTransformationPlugin = {
    processEvent,
    template: {
        free: true,
        status: 'deprecated',
        type: 'transformation',
        id: 'plugin-posthog-app-unduplicator',
        name: 'PostHog App Unduplicator',
        description: 'Prevent duplicates in your data when ingesting.',
        icon_url: 'https://res.cloudinary.com/dmukukwp6/image/upload/q_auto,f_auto/builder_hog_01_955c082cad.png',
        category: ['Custom'],
        code_language: 'javascript',
        code: `return event`,
        inputs_schema: [
            {
                key: 'dedupMode',
                templating: false,
                label: 'Dedup Mode',
                type: 'choice',
                required: true,
                choices: [
                    { value: 'Event and Timestamp', label: 'Event and Timestamp' },
                    { value: 'All Properties', label: 'All Properties' },
                ],
            },
        ],
    },
}