Caity Neighbor
Field notes

Same date, different data type

Sending date-based surveys through an integration that rejected dates

An integration rejects date fields but accepts text, so the date crosses as text and becomes a date again on arrival.

  • Implementation
  • Data quality
late fall3 min read

As a Customer Success Manager at a customer experience platform, I worked with a large security services company that wanted to send a survey one day after every inspection.

The inspection date lived in their CRM and arrived in our platform via a native integration.

This integration was one of the platform's most commonly used. It synced contacts nightly, and the platform's scheduler would determine when those contacts were eligible to receive a survey.

Where the date got lost

The scheduler could send a survey a set number of days after a date on the contact record. However, this CRM integration refused to transfer fields with a date data type, so its contacts arrived with no date for a rule to count against.

That left customers on this integration able to send only relational surveys, which run on a fixed cadence, such as every three months. When the platform’s main feature driver was scorecards based on individual performance, surveys on a fixed cadence couldn’t tie a score to the person who did the work.

The customer actively wanted to expand their use of the platform for transactional surveys (sent after a specific event), so solving this issue would open a whole new set of use cases.

A new use for an old tool

The platform had one data type conversion feature that could convert a text string into a date, built generally for CSV imports.

In the settings, a customer could set a column's data type to Date, converting it to a Unix timestamp and allowing the scheduler to anchor survey sends to it.

The working session

The customer's application developer knew their CRM as well as I knew our platform. We confirmed the integration wouldn't accept a date field, so I stopped to ask: is there any way for us to get that value into our system?

Text strings came through fine.

He duplicated the inspection date on the CRM side but set the data type as a text string.

He hid the copy from internal views so it wouldn't clutter the contact record. The next sync brought Inspection Date in as text on each active contact record.

Then, I set the field's data type to Date. A rule set to fire one day after an inspection now had a date to work from.

Where it went

The customer could tie feedback to individual inspections and to the technician who did the work. I wrote a walkthrough in our team wiki so other accounts on the same CRM integration could set it up, too.

The integration and the product stayed the same. The developer set the new field to copy the inspection date and hid it from view.

A whole library of use cases for this customer and others was about to be unlocked.