Aident logoAident logo centerAident Loadout
Use CasesPricingDocs
ENStart Now
AppsPostHog ToolsPosthog Create Hog Function
PostHog Tools

Posthog Create Hog Function

Create a new hog function in PostHog. Hog functions are serverless functions that can be triggered by events, used for transformations, destinations, or site applications. Use when you need to set up custom event processing, integrations, or in-app features like notification bar…

Write actionRisk level 2 of 5API key connection
Use Posthog Create Hog Function

Pricing and limits

Aident logo

Product

Aident LoadoutAident Playbook EditorOpen-CUAK

About

AppsSkillsUse CasesDocsBlogPricingDownloadsPrivacy PolicyTerms of Service

Alternatives

vs Composiovs Zapier
llms.txtGet an AI summary of Aident LoadoutSummarize with ChatGPTSummarize with ClaudeSummarize with GeminiSummarize with Perplexity

© Aident Labs, 2024-2026

Pricing
Free
Unified payment
Not currently supported

Inputs

  • hogstring
    Hog code for custom function logic. Used for advanced custom implementations.
  • namestring
    Required
    Name of the hog function (e.g., 'Test Hog Function', 'Notification Bar'). Maximum length: 400 characters.
  • typestring
    Required
    Type of hog function (e.g., 'site_app', 'destination', 'transformation'). Determines how and where the function executes.
  • inputsobject
    Required
    Dictionary of input parameter values. Keys are parameter names (e.g., 'notification', 'position', 'backgroundColor'). Values contain the input configuration including the actual value.
  • deletedboolean
    Whether the hog function is soft-deleted. Generally not needed when creating a new function.
  • enabledboolean
    Whether the hog function is enabled. Defaults to true.
  • filtersobject
    Filtering configuration for when the hog function should execute.
  • maskingobject
    Masking configuration for sensitive data in hog function.
  • icon_urlstring
    URL or path to the icon for this hog function (e.g., '/static/hedgehog/list-hog.png'). Used for display in UI.
  • project_idstring
    Required
    Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
  • descriptionstring
    Description of what the hog function does (e.g., 'Test hog function for API validation').
  • template_idstring
    Required
    Template ID to use for the hog function (e.g., 'template-notification-bar', 'template-slack-webhook'). Maximum length: 400 characters.

Observable output

  • data
    Required
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Required
    Whether or not the action execution was successful or not

Skills that use this Action

Related use cases

No verified related use cases are linked yet.

Official source

Provider source

Skills that use this Action

No published Skills explicitly reference this Action yet.