PostHog

Update PostHog Survey

Update PostHog Survey.

1 creditRuns in your PostHog account

Endpoint

Parameters

NameTypeRequiredNote
identifieraccount · requiredaccountrequired—
project_idstring · requiredstringrequired

Project ID returned by List PostHog Projects. Uses only the selected connected account.

survey_idstring · requiredstringrequired

PostHog survey id from the matching lookup in this project.

namestring · optionalstringoptional

PostHog name.

descriptionstring · optionalstringoptional

PostHog description.

typestring · optionalstringoptional

PostHog type.

schedulestring · optionalstringoptional

PostHog schedule.

linked_flag_idnumber · optionalnumberoptional

PostHog linked flag id from the matching lookup in this project.

linked_insight_idnumber · optionalnumberoptional

PostHog linked insight id from the matching lookup in this project.

targeting_flag_idnumber · optionalnumberoptional

PostHog targeting flag id from the matching lookup in this project.

targeting_flag_filtersstring · optionalstringoptional

PostHog targeting flag filters as structured JSON or JSON text. Supports Workflow variables.

remove_targeting_flagboolean · optionalbooleanoptional

PostHog remove targeting flag; null clears this value.

questionsstring · optionalstringoptional

JSON array of PostHog survey questions, including each question’s type and question text.

conditionsstring · optionalstringoptional

PostHog conditions as structured JSON or JSON text. Supports Workflow variables.

appearancestring · optionalstringoptional

PostHog appearance as structured JSON or JSON text. Supports Workflow variables.

start_datestring · optionalstringoptional

PostHog start date; null clears this value.

end_datestring · optionalstringoptional

PostHog end date; null clears this value.

archivedboolean · optionalbooleanoptional

PostHog archived.

responses_limitnumber · optionalnumberoptional

PostHog responses limit; null clears this value.

iteration_countnumber · optionalnumberoptional

PostHog iteration count; null clears this value.

iteration_frequency_daysnumber · optionalnumberoptional

PostHog iteration frequency days; null clears this value.

iteration_start_datesstring · optionalstringoptional

PostHog iteration start dates as structured JSON or JSON text. Supports Workflow variables.

current_iterationnumber · optionalnumberoptional

PostHog current iteration; null clears this value.

current_iteration_start_datestring · optionalstringoptional

PostHog current iteration start date; null clears this value.

response_sampling_start_datestring · optionalstringoptional

PostHog response sampling start date; null clears this value.

response_sampling_interval_typestring · optionalstringoptional

PostHog response sampling interval type; null clears this value.

response_sampling_intervalnumber · optionalnumberoptional

PostHog response sampling interval; null clears this value.

response_sampling_limitnumber · optionalnumberoptional

PostHog response sampling limit; null clears this value.

response_sampling_daily_limitsstring · optionalstringoptional

PostHog response sampling daily limits as structured JSON or JSON text. Supports Workflow variables.

enable_partial_responsesboolean · optionalbooleanoptional

PostHog enable partial responses; null clears this value.

enable_iframe_embeddingboolean · optionalbooleanoptional

PostHog enable iframe embedding; null clears this value.

base_languagestring · optionalstringoptional

PostHog base language; null clears this value.

translationsstring · optionalstringoptional

PostHog translations as structured JSON or JSON text. Supports Workflow variables.

form_contentstring · optionalstringoptional

PostHog form content as structured JSON or JSON text. Supports Workflow variables.

Response schema

{
  "type": "object",
  "required": [
    "id",
    "name",
    "type",
    "created_at",
    "archived"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "archived": {
      "type": "boolean"
    },
    "end_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "schedule": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "questions": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {}
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "appearance": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "conditions": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "created_at": {
      "type": "string"
    },
    "created_by": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "id",
            "uuid",
            "distinct_id",
            "first_name",
            "last_name",
            "email",
            "is_email_verified",
            "role_at_organization"
          ],
          "properties": {
            "id": {
              "type": "number"
            },
            "uuid": {
              "type": "string"
            },
            "email": {
              "type": "string"
            },
            "last_name": {
              "type": "string"
            },
            "first_name": {
              "type": "string"
            },
            "distinct_id": {
              "type": "string"
            },
            "hedgehog_config": {
              "anyOf": [
                {},
                {
                  "type": "null"
                }
              ]
            },
            "is_email_verified": {
              "type": "boolean"
            },
            "role_at_organization": {
              "type": "string"
            }
          },
          "additionalProperties": true
        },
        {
          "type": "null"
        }
      ]
    },
    "start_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "linked_flag": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "id",
            "team_id",
            "name",
            "key",
            "deleted",
            "active",
            "ensure_experience_continuity",
            "version",
            "evaluation_runtime",
            "bucketing_identifier",
            "evaluation_contexts"
          ],
          "properties": {
            "id": {
              "type": "number"
            },
            "key": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "active": {
              "type": "boolean"
            },
            "deleted": {
              "type": "boolean"
            },
            "filters": {
              "anyOf": [
                {
                  "type": "object",
                  "additionalProperties": {}
                },
                {
                  "type": "null"
                }
              ]
            },
            "team_id": {
              "type": "number"
            },
            "version": {
              "type": "number"
            },
            "evaluation_runtime": {
              "type": "string"
            },
            "evaluation_contexts": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "bucketing_identifier": {
              "type": "string"
            },
            "ensure_experience_continuity": {
              "type": "boolean"
            }
          },
          "additionalProperties": true
        },
        {
          "type": "null"
        }
      ]
    },
    "form_content": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "translations": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "base_language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "linked_flag_id": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "targeting_flag": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "id",
            "team_id",
            "name",
            "key",
            "deleted",
            "active",
            "ensure_experience_continuity",
            "version",
            "evaluation_runtime",
            "bucketing_identifier",
            "evaluation_contexts"
          ],
          "properties": {
            "id": {
              "type": "number"
            },
            "key": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "active": {
              "type": "boolean"
            },
            "deleted": {
              "type": "boolean"
            },
            "filters": {
              "anyOf": [
                {
                  "type": "object",
                  "additionalProperties": {}
                },
                {
                  "type": "null"
                }
              ]
            },
            "team_id": {
              "type": "number"
            },
            "version": {
              "type": "number"
            },
            "evaluation_runtime": {
              "type": "string"
            },
            "evaluation_contexts": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "bucketing_identifier": {
              "type": "string"
            },
            "ensure_experience_continuity": {
              "type": "boolean"
            }
          },
          "additionalProperties": true
        },
        {
          "type": "null"
        }
      ]
    },
    "iteration_count": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "responses_limit": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "current_iteration": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "linked_insight_id": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "targeting_flag_id": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "iteration_start_dates": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "remove_targeting_flag": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ]
    },
    "targeting_flag_filters": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "enable_iframe_embedding": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ]
    },
    "internal_targeting_flag": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "id",
            "team_id",
            "name",
            "key",
            "deleted",
            "active",
            "ensure_experience_continuity",
            "version",
            "evaluation_runtime",
            "bucketing_identifier",
            "evaluation_contexts"
          ],
          "properties": {
            "id": {
              "type": "number"
            },
            "key": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "active": {
              "type": "boolean"
            },
            "deleted": {
              "type": "boolean"
            },
            "filters": {
              "anyOf": [
                {
                  "type": "object",
                  "additionalProperties": {}
                },
                {
                  "type": "null"
                }
              ]
            },
            "team_id": {
              "type": "number"
            },
            "version": {
              "type": "number"
            },
            "evaluation_runtime": {
              "type": "string"
            },
            "evaluation_contexts": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "bucketing_identifier": {
              "type": "string"
            },
            "ensure_experience_continuity": {
              "type": "boolean"
            }
          },
          "additionalProperties": true
        },
        {
          "type": "null"
        }
      ]
    },
    "response_sampling_limit": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "enable_partial_responses": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ]
    },
    "iteration_frequency_days": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "response_sampling_interval": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "current_iteration_start_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "response_sampling_start_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "response_sampling_daily_limits": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "response_sampling_interval_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "additionalProperties": true
}

Get started

How to use this action

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, then connect your account for this app. There’s no API key to manage.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this app’s actions when the job calls for them, along with any other tools it needs.

  3. Make it a workflow

    Add an action as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether each action runs on its own or asks first. When it asks, you see an Allow or Deny card before anything changes in the app.