younifyd
Menu

Send Question Confirmation Mail

Create question (with confirmation email)

POST/questions/send_confirmation_mail

Use it in a workflow

  1. Add a step and choose the Yotpo connector.
  2. Pick the Send Question Confirmation Mail action (under Reviews & Ratings).
  3. Fill in the fields below, then reference the result from later steps as {{sendQuestionConfirmationMail.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

review_contentstringrequired

The question the customer asks

display_namestringrequired

The customer's name

emailstringrequired

The customer's email

appkeystringrequired

The store ID

skustringrequired

The SKU param can be any unique stock-keeping unit. e.g. Product ID

product_titlestringrequired

The name of the product

product_urlstringrequired

The URL of the product

product_descriptionstring

The description of the product

product_image_urlstring

The URL of the image of the product

prevent_duplicate_reviewboolean

Prevents sending of two identical questions. It is recommended to set this to `true`

product_tagsstring

The tag you apply to a product in Custom Questions. This can only be a single string. **Products can accept one tag per product and may not contain commas**

Default "1"

json
{
  "review_content": "string",
  "display_name": "string",
  "email": "string",
  "appkey": "string",
  "sku": "string",
  "product_title": "string",
  "product_url": "string",
  "product_description": "string",
  "product_image_url": "string",
  "prevent_duplicate_review": false,
  "product_tags": "1"
}

Response

Returns 200 with an object. Read it in later steps with {{sendQuestionConfirmationMail.response.data.<field>}}.

statusobject
codeinteger

Default 0

messagestring
json
{
  "status": {
    "code": 200,
    "message": "OK"
  }
}

Need more? See the Yotpo guide for connection setup and behaviour shared by every action.

Send Question Confirmation Mail — Yotpo — Documentation