Step 1: Index Your Data

Install the App in the Yext Platform

  1. The Yext Data Connectors use the core JSON:API Module to pull in data from your Drupal site. You can check this by clicking on Extend in your Drupal site and making sure JSON:API is checked off.

  2. Look through the App Directory or on the Connectors page in your account and select the Drupal app you’d like to use based on your desired entity types (e.g. if you want to pull events into the platform, select Drupal Event Connector). There are five built in data connectors for the following entity types:

    • Page: This pulls in all Page content types you have on your Drupal site.
    • Article: This pulls in all Article content types you have on your Drupal site.
    • Person: This pulls in all Person content types you have on your Drupal site.
    • Event: This pulls in all Event content types you have on your Drupal site.
    • Place: This pulls in all Place content types you have on your Drupal site.

    Each of the connectors pulls in the core fields for each of the Content Types. If you would like to pull in more fields, you can do that in Step 2.

    If none of the five apps describe the entities you’d like to pull in, jump to Step 3 of this guide.

  3. Install the connector. When you install the app you will be prompted to input your Drupal site’s URL. Input the full URL including the http:// (e.g., http://www.yext.com).

  4. Click Save and Run. Your entities will be pulled straight Yext Content!

light bulb
Note
If your entities are taking a very long time to pull in, try filtering to bring in only the data that you need. Drupal’s REST API offers the ability to create API calls from an endpoint with filters that only bring in data that meet certain criteria. To add filtering to your query URL, you will need to create a Drupal connector using the “Pull from API” source rather than the Drupal source.

Event Connectors: Adjusting Time Zones

If you are using the Event connector, the default timezone is America/New_York. If your events are in a different timezone, here’s how you can change it:

  1. On the Event Connector page, click Edit Configuration.
  2. Click on the Add Column transform in the left sidebar where it says “America/New_York”.
  3. Change the value to the time zone you are in.
  4. Click Save
Feedback