Yext
App · 25 actions
Manage locations and other entities in Yext's Knowledge Graph, respond to reviews, send review invitations, handle publisher suggestions and posts, and follow new reviews, questions and listing changes.
Actions
| Action | What it does |
|---|---|
| Accept or reject publisher suggestion | Accept a publisher's suggested change, which updates the entity, or reject it. |
| Create entity | Add an entity, such as a location, to the Knowledge Graph. |
| Create post | Publish a post for one or more entities on Google Business Profile, Facebook, Instagram, LinkedIn or TikTok. |
| Delete entity | Delete an entity from the Knowledge Graph. |
| Delete post | Delete a post from every publisher it was published to. |
| Delete review invitation | Delete a review invitation. |
| Delete review response | Delete a response you posted to a review. |
| Get entity | Get an entity's details: name, address, phone, hours, website and its other fields. |
| Get question | Get a question and its answers. |
| Get review | Get a review with its rating, text, author and comments. |
| List custom fields | List the account's custom fields with their API names (c_...), types and options. |
| List entities | List the Knowledge Graph's entities (locations, professionals, products and more), optionally of some types, in a folder or by name. |
| List folders | List the account's entity folders. |
| List listings | List your entities' listings on publishers, with each one's sync status and URL. |
| List posts | List social and Google posts published through Yext. |
| List publisher suggestions | List changes publishers suggested to your listings, such as new hours from Google users. |
| List publishers | List the publishers (Google, Apple, Facebook and others) your listings can appear on. |
| List questions | List questions customers asked on publishers such as Google, with their answers. |
| List review invitations | List review requests sent by email or text, with whether each was opened, clicked and reviewed. |
| List reviews | List reviews from every publisher, filtered by entity, rating, date, status or whether they need a response. |
| Respond to review | Post your response to a review, publicly or as a private message, on the publisher where it was left. |
| Send review invitation | Ask a customer to review one of your entities, by email or text message. |
| Update entity | Change an entity's fields. |
| Update first-party review | Change a review collected through Yext (a first-party review): its status, rating, text or author. |
| Update review response | Change the text or visibility of a response you posted. |
Accept or reject publisher suggestion
Accept a publisher's suggested change, which updates the entity, or reject it.
Inputs
- Suggestion
suggestion_idtextRequired - The suggestion's ID.
- Answer
statustextRequired - Accept or reject the change.One of:
ACCEPTED,REJECTED.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {}
}Create entity
Add an entity, such as a location, to the Knowledge Graph.
Inputs
- Type
entity_typetextRequired - What kind of entity it is.One of:
location,restaurant,healthcareProfessional(Healthcare professional),healthcareFacility(Healthcare facility),financialProfessional(Financial professional),hotel,hotelRoomType(Hotel room type),atm,event,faq, and 3 more. - Name
nametextRequired - The entity's name.
- Entity ID
new_entity_idtext - Your own ID for the entity, such as a store number. Leave empty and Yext makes one.
- Address
address_line1text - The street address.
- Address line 2
address_line2text - The second line of the address, such as a suite.
- City
citytext - The city.
- State or region
regiontext - The state, province or region, such as NY.
- Postal code
postal_codetext - The ZIP or postal code.
- Country
country_codetext - The two-letter country code, such as US.
- Main phone
main_phonetext - The main phone number, such as +12125551234.
- Description
descriptiontext - A description of the business.
- Website
websitetext - The website address.
- Emails
emailslist - Email addresses.
- Folder
folder_idtext - The folder to keep the entity in.
- Other fields
other_fieldsobject - Any other fields, by their API name, such as {"c_storeCode": "12"} for a custom field.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"meta": {
"entityType": "example",
"id": "example",
"uid": "example"
},
"name": "example"
}
}Create post
Publish a post for one or more entities on Google Business Profile, Facebook, Instagram, LinkedIn or TikTok.
Inputs
- Entities
entity_idslistRequired - The entities to post for.
- Publisher
publishertextRequired - Where to publish.One of:
GOOGLEMYBUSINESS(Google Business Profile),FACEBOOK,INSTAGRAM,LINKEDIN,TIKTOK,FIRSTPARTY(Your own pages (first party)). - Text
texttext - The post's text.
- Title
titletext - A title, where the publisher shows one.
- Photo URLs
photo_urlslist - Links to photos to attach.
- Link
clickthrough_urltext - A link people can follow from the post.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"clickthroughUrl": "example",
"createdDate": "example",
"entityId": [
"example"
],
"entityPosts": [
{}
],
"photoUrls": [
"example"
],
"postDate": "example",
"postFormat": "example",
"postId": "example",
"postTitle": "example",
"publishers": [
"example"
],
"text": "example"
}
}Delete entity
Delete an entity from the Knowledge Graph. Its listings are taken down.
Inputs
- Entity
entity_idtextRequired - The entity: a location, professional, product or other record in the Knowledge Graph.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"id": "example"
}
}Delete post
Delete a post from every publisher it was published to.
Inputs
- Post ID
post_idtextRequired - The post's ID, which Create post returns.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {}
}Delete review invitation
Delete a review invitation.
Inputs
- Invitation ID
invitation_idtextRequired - The invitation's ID (invitationUid), which Send review invitation returns.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {}
}Delete review response
Delete a response you posted to a review.
Inputs
- Review ID
review_idnumberRequired - The review's ID.At least 1.
- Comment ID
comment_idtextRequired - The comment's ID, which Respond to review returns.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {}
}Get entity
Get an entity's details: name, address, phone, hours, website and its other fields.
Inputs
- Entity
entity_idtextRequired - The entity: a location, professional, product or other record in the Knowledge Graph.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"address": {
"city": "example",
"countryCode": "example",
"line1": "example",
"line2": "example",
"postalCode": "example",
"region": "example"
},
"answer": "example",
"categoryIds": [
"example"
],
"closed": true,
"description": "example",
"emails": [
"example"
],
"hours": {},
"mainPhone": "example",
"meta": {
"countryCode": "example",
"createdTimestamp": "example",
"entityType": "example",
"folderId": "example",
"id": "example",
"labels": [
"example"
],
"language": "example",
"timestamp": "example",
"uid": "example"
},
"name": "example",
"websiteUrl": {
"displayUrl": "example",
"url": "example"
}
}
}Get question
Get a question and its answers.
Inputs
- Question ID
question_idtextRequired - The question's ID.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"answerCount": 1,
"answers": [
{
"authorName": "example",
"authorType": "example",
"content": "example",
"createTime": 1,
"id": 1
}
],
"authorName": "example",
"authorType": "example",
"content": "example",
"createTime": 1,
"entityIds": [
"example"
],
"id": "example",
"language": "example",
"publisherId": "example",
"updateTime": 1,
"upvoteCount": 1
}
}Get review
Get a review with its rating, text, author and comments.
Inputs
- Review ID
review_idnumberRequired - The review's ID.At least 1.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"authorEmail": "example",
"authorName": "example",
"comments": [
{
"authorName": "example",
"authorRole": "example",
"content": "example",
"id": 1,
"parentId": 1,
"publisherDate": 1,
"visibility": "example"
}
],
"content": "example",
"flagStatus": "example",
"id": 1,
"labelIds": [
1
],
"lastYextUpdateTime": 1,
"locationId": "example",
"publisherDate": 1,
"publisherId": "example",
"rating": 1,
"recommendation": "example",
"reviewLanguage": "example",
"reviewType": "example",
"status": "example",
"title": "example",
"url": "example"
}
}List custom fields
List the account's custom fields with their API names (c_...), types and options.
Inputs
- How many
limitnumber - How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
- Page token
page_tokentext - The next page token from the last page, to read the next page.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"count": 1,
"customFields": [
{
"group": "example",
"id": "example",
"name": "example",
"options": [
{}
],
"type": "example"
}
],
"pageToken": "example"
}
}List entities
List the Knowledge Graph's entities (locations, professionals, products and more), optionally of some types, in a folder or by name.
Inputs
- Entity types
entity_typeslist - Only entities of these types.One or more of:
location,restaurant,healthcareProfessional(Healthcare professional),healthcareFacility(Healthcare facility),financialProfessional(Financial professional),hotel,hotelRoomType(Hotel room type),atm,event,faq, and 3 more. - Name contains
name_containstext - Only entities whose name contains this text.
- Folder
folder_idtext - Only entities in this folder.
- How many
limitnumber - How many to return, up to 50. Leave empty for 10.From 1 to 50.
- Page token
page_tokentext - The next page token from the last page, to read the next page.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"count": 1,
"entities": [
{
"address": {
"city": "example",
"countryCode": "example",
"line1": "example",
"line2": "example",
"postalCode": "example",
"region": "example"
},
"answer": "example",
"categoryIds": [
"example"
],
"closed": true,
"description": "example",
"emails": [
"example"
],
"hours": {},
"mainPhone": "example",
"meta": {
"countryCode": "example",
"createdTimestamp": "example",
"entityType": "example",
"folderId": "example",
"id": "example",
"labels": [
"example"
],
"language": "example",
"timestamp": "example",
"uid": "example"
},
"name": "example",
"websiteUrl": {
"displayUrl": "example",
"url": "example"
}
}
],
"pageToken": "example"
}
}List folders
List the account's entity folders.
Inputs
None.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"count": 1,
"folders": [
{
"id": "example",
"name": "example",
"parentId": "example"
}
]
}
}List listings
List your entities' listings on publishers, with each one's sync status and URL.
Inputs
- Entities
entity_idslist - Only these entities. Leave empty for all.
- Publishers
publisher_idslist - Only listings on these publishers, such as GOOGLEMYBUSINESS.
- Statuses
statuseslist - Only listings with these statuses. Leave empty for all but deleted and stopped ones.One or more of:
LIVE,NOT_SYNCED(Not synced),SYNC_IN_PROGRESS(Sync in progress),UPDATE_IN_PROGRESS(Update in progress),CANCELING_SYNC(Cancelling sync),NOT_APPLICABLE(Not applicable),DELETE_PENDING(Delete pending),DELETE_FAILED(Delete failed),DELETED,SYNC_STOPPED(Sync stopped). - How many
limitnumber - How many to return, up to 100. Leave empty for 100.From 1 to 100.
- Page token
page_tokentext - The next page token from the last page, to read the next page.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"count": 1,
"listings": [
{
"entityId": "example",
"id": "example",
"listingUrl": "example",
"publisherId": "example",
"status": "example",
"statusDetails": [
{}
]
}
],
"nextPageToken": "example"
}
}List posts
List social and Google posts published through Yext.
Inputs
- Entities
entity_idslist - Only these entities. Leave empty for all.
- Contains
texttext - Only posts containing this text.
- Page token
page_tokentext - The next page token from the last page, to read the next page.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"nextPageToken": "example",
"posts": [
{
"clickthroughUrl": "example",
"createdDate": "example",
"entityId": [
"example"
],
"entityPosts": [
{}
],
"photoUrls": [
"example"
],
"postDate": "example",
"postFormat": "example",
"postId": "example",
"postTitle": "example",
"publishers": [
"example"
],
"text": "example"
}
]
}
}List publisher suggestions
List changes publishers suggested to your listings, such as new hours from Google users.
Inputs
- Entities
entity_idslist - Only these entities. Leave empty for all.
- Statuses
statuseslist - Only suggestions with these statuses.One or more of:
WAITING_ON_CUSTOMER(Waiting for you),ACCEPTED,REJECTED,EXPIRED. - How many
limitnumber - How many to return, up to 50. Leave empty for 10.From 1 to 50.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"count": 1,
"suggestions": [
{
"dateCreated": "example",
"dateResolved": "example",
"fieldName": "example",
"id": "example",
"locationId": "example",
"originalContent": "example",
"publisherId": "example",
"resolvedBy": "example",
"status": "example",
"suggestedContent": "example"
}
]
}
}List publishers
List the publishers (Google, Apple, Facebook and others) your listings can appear on.
Inputs
- Show
subsettext - Which publishers to list. Leave empty for the ones your subscription covers.One of:
RELEVANT_ONLY(Only publishers your subscription and countries cover),ALL(Every publisher).
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"publishers": [
{
"id": "example",
"name": "example",
"supportedCountries": [
"example"
],
"url": "example"
}
]
}
}List questions
List questions customers asked on publishers such as Google, with their answers.
Inputs
- How many
limitnumber - How many to return, up to 50. Leave empty for 10.From 1 to 50.
- Page token
page_tokentext - The next page token from the last page, to read the next page.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"count": 1,
"pageToken": "example",
"questions": [
{
"answerCount": 1,
"answers": [
{
"authorName": "example",
"authorType": "example",
"content": "example",
"createTime": 1,
"id": 1
}
],
"authorName": "example",
"authorType": "example",
"content": "example",
"createTime": 1,
"entityIds": [
"example"
],
"id": "example",
"language": "example",
"publisherId": "example",
"updateTime": 1,
"upvoteCount": 1
}
]
}
}List review invitations
List review requests sent by email or text, with whether each was opened, clicked and reviewed.
Inputs
- Entities
entity_idslist - Only these entities. Leave empty for all.
- Status
statustext - Only invitations with this status.One of:
PENDING,ACCEPTED,REJECTED. - Sent by
typetext - Only email or only text invitations.One of:
EMAIL,SMS(Text message). - How many
limitnumber - How many to return, up to 100. Leave empty for 10.From 1 to 100.
- Page token
page_tokentext - The next page token from the last page, to read the next page.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"clicked": 1,
"countEmail": 1,
"countSMS": 1,
"invitations": [
{
"clicked": "example",
"contact": "example",
"entity": {
"id": "example"
},
"firstName": "example",
"invitationUid": "example",
"language": "example",
"lastName": "example",
"opened": "example",
"reviewId": 1,
"reviewed": "example",
"sent": "example",
"status": "example",
"templateId": "example",
"transactionId": "example",
"type": "example"
}
],
"nextPageToken": "example",
"opened": 1,
"responded": 1,
"sent": 1
}
}List reviews
List reviews from every publisher, filtered by entity, rating, date, status or whether they need a response.
Inputs
- Entities
entity_idslist - Only these entities. Leave empty for all.
- Publishers
publisher_idslist - Only reviews from these publishers, such as GOOGLEMYBUSINESS or FACEBOOK.
- Lowest rating
min_ratingnumber - Only reviews rated at least this.From 1 to 5.
- Highest rating
max_ratingnumber - Only reviews rated at most this.From 1 to 5.
- Posted since
published_sincedate - Only reviews posted on or after this day.
- Updated since
updated_sincedate - Only reviews changed in Yext on or after this day.
- Waiting for a response
awaiting_responsetext - Only reviews still waiting for your response.One of:
REVIEW(Reviews with no response),COMMENT(Reviews whose latest comment has no response),REVIEW_OR_COMMENT(Either). - Status
statustext - Only reviews with this status.One of:
LIVE,QUARANTINED,REMOVED. - Contains
texttext - Only reviews containing this text.
- How many
limitnumber - How many to return, up to 100. Leave empty for 10.From 1 to 100.
- Page token
page_tokentext - The next page token from the last page, to read the next page.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"averageRating": 1,
"count": 1,
"nextPageToken": "example",
"reviews": [
{
"authorEmail": "example",
"authorName": "example",
"comments": [
{
"authorName": "example",
"authorRole": "example",
"content": "example",
"id": 1,
"parentId": 1,
"publisherDate": 1,
"visibility": "example"
}
],
"content": "example",
"flagStatus": "example",
"id": 1,
"labelIds": [
1
],
"lastYextUpdateTime": 1,
"locationId": "example",
"publisherDate": 1,
"publisherId": "example",
"rating": 1,
"recommendation": "example",
"reviewLanguage": "example",
"reviewType": "example",
"status": "example",
"title": "example",
"url": "example"
}
]
}
}Respond to review
Post your response to a review, publicly or as a private message, on the publisher where it was left.
Inputs
- Review ID
review_idnumberRequired - The review's ID.At least 1.
- Response
contenttextRequired - Your response.
- Visibility
visibilitytext - Public replies show under the review; private ones go only to the reviewer, where the publisher allows it. Leave empty for public.One of:
PUBLIC(Public reply),PRIVATE(Private message to the reviewer). - Reply to comment
parent_idnumber - To reply to a comment on the review rather than the review itself, that comment's ID.At least 1.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"id": 1
}
}Send review invitation
Ask a customer to review one of your entities, by email or text message.
Inputs
- Entity
entity_idtextRequired - The entity the customer is asked to review.
- First name
first_nametextRequired - The customer's first name.
- Last name
last_nametextRequired - The customer's last name.
- Email or mobile number
contacttextRequired - The customer's email address, or mobile number (such as +12125551234) to text them.
- Template ID
template_idtext - The review invitation template to use. Leave empty for the default.
- Transaction ID
transaction_idtext - Your own reference for the visit or order, kept with the review.
- Language
languagetext - The invitation's language code, such as en or fr.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"clicked": "example",
"contact": "example",
"entity": {
"id": "example"
},
"firstName": "example",
"invitationUid": "example",
"language": "example",
"lastName": "example",
"opened": "example",
"reviewId": 1,
"reviewed": "example",
"sent": "example",
"status": "example",
"templateId": "example",
"transactionId": "example",
"type": "example"
}
}Update entity
Change an entity's fields. Fields left empty stay as they are.
Inputs
- Entity
entity_idtextRequired - The entity: a location, professional, product or other record in the Knowledge Graph.
- Name
nametext - The entity's name.
- Address
address_line1text - The street address.
- Address line 2
address_line2text - The second line of the address, such as a suite.
- City
citytext - The city.
- State or region
regiontext - The state, province or region, such as NY.
- Postal code
postal_codetext - The ZIP or postal code.
- Country
country_codetext - The two-letter country code, such as US.
- Main phone
main_phonetext - The main phone number, such as +12125551234.
- Description
descriptiontext - A description of the business.
- Website
websitetext - The website address.
- Emails
emailslist - Email addresses.
- Folder
folder_idtext - The folder to keep the entity in.
- Other fields
other_fieldsobject - Any other fields, by their API name, such as {"c_storeCode": "12"} for a custom field.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"meta": {
"entityType": "example",
"id": "example",
"uid": "example"
},
"name": "example"
}
}Update first-party review
Change a review collected through Yext (a first-party review): its status, rating, text or author.
Inputs
- Review ID
review_idnumberRequired - The review's ID.At least 1.
- Status
statustext - Live shows it; quarantined and removed hide it.One of:
LIVE,QUARANTINED,REMOVED. - Rating
ratingnumber - The rating.From 1 to 5.
- Text
contenttext - The review's text.
- Author name
author_nametext - The reviewer's name.
Outputs
dataobject- The response from Yext.
Example output
{
"data": {
"id": 1
}
}Update review response
Change the text or visibility of a response you posted.
Inputs
- Review ID
review_idnumberRequired - The review's ID.At least 1.
- Comment ID
comment_idtextRequired - The comment's ID, which Respond to review returns.
- Response
contenttextRequired - The new response.
- Visibility
visibilitytext - Public or private.One of:
PUBLIC(Public reply),PRIVATE(Private message to the reviewer).
Outputs
dataobject- The response from Yext.
Example output
{
"data": {}
}