Tool

Survey create

Survey-Create by PostHog is a versatile AI-powered tool designed to create customizable surveys within your project. It supports multiple question types and various survey delivery formats, enabling targeted feedback collection effectively.

posthog

Features

  • Supports multiple survey types including popover, API-based, widget, and external surveys for flexible integration.
  • Offers diverse question formats such as open-ended, multiple choice, rating (with customizable scales), and link questions.
  • Enables advanced branching logic and response-based question flows for personalized user experiences.
  • Provides extensive customization options for survey appearance, including colors, fonts, widget type, and white-labeling.
  • Includes targeting and scheduling features like start dates, response limits, iteration counts, and user property-based filters for precise audience engagement.

Benefits

  • Collect detailed user feedback with flexible question formats tailored to your needs.
  • Enhance survey response rates using popovers, widgets, or API methods integrated seamlessly into your app.
  • Leverage branching and response-based logic to create dynamic, engaging surveys that adapt to user input.
  • Customize the survey look and feel to match your brand identity and improve user experience.
  • Optimize survey deployment with targeting, scheduling, and response management to gather actionable insights efficiently.

Description

Creates a new survey in the project. Surveys can be popover or API-based and support various question types including open-ended, multiple choice, rating, and link questions. Once created, you should ask the user if they want to add the survey to their application code.

Parameters

12 parameters

NameTypeDescription
namerequiredstring

descriptionstring

typeenum

questionsrequiredarray

appearanceobject

start_dateany

Setting this will launch the survey immediately. Don't add a start_date unless explicitly requested to do so.

responses_limitany

The maximum number of responses before automatically stopping the survey.

iteration_countany

For a recurring schedule, this field specifies the number of times the survey should be shown to the user. Use 1 for 'once every X days', higher numbers for multiple repetitions. Works together with iteration_frequency_days to determine the overall survey schedule.

iteration_frequency_daysany

For a recurring schedule, this field specifies the interval in days between each survey instance shown to the user, used alongside iteration_count for precise scheduling.

enable_partial_responsesboolean

When at least one question is answered, the response is stored (true). The response is stored when all questions are answered (false).

linked_flag_idnumber | null

The feature flag linked to this survey

targeting_flag_filtersobject

Target specific users based on their properties. Example: {groups: [{properties: [{key: 'email', value: ['@company.com'], operator: 'icontains'}], rollout_percentage: 100}]}

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .