How are special properties passed to Delighted?

Previous section: What are special properties?

Special properties are sent to Delighted in the exact same way as regular properties - either as column headers in a CSV/Excel file, parameters in an API request, or as parameters passed via the Web JavaScript.

In this section, we’ll use the special property of Question Product Name as an example, showing how the property would be passed via a CSV/Excel file, API request, and Web survey.


CSV upload

For CSV/Excel files, you’ll simply include a column header with the special property name, and then the values that should be dynamically updated:

Name Email Question Product Name
Ellie Newman ellie@icloud.com The London Trench
Richard Nguyen richard.nguyen@aol.com The Classic Oxford
George Vargas gvargas@gmail.com The Vintage Tee
    Example of formatting:
    Column header titled "Question Product Name"<br>
    	

API request

For API requests hitting our sending endpoint, you’ll include a property parameter in the body of the request, as well as include the name (in brackets) of the special property you’d like to use. Below is an example of a special property being passed via a cURL request:

    Example of formatting:
    properties[question_product_name]=value<br>
    	

Web survey

If you’re using our Web platform, passing through the special property is as simple as including a new parameter in your JS code:

    Example of formatting:
    { questionProductName: "Value" }<br>
    	

We’ll now dive into the specifics - learning about what each special property looks like when passed to Delighted, what area of the survey it updates, as well as a few best practices and sample use cases.

Next section: Question product name

Still need help? Contact Us Contact Us