Appending data from plain-text or HTML formatted delivery responses

Alex Wolfe
Alex Wolfe
  • Updated

LeadConduit automatically appends data from Delivery response bodies when the body is well-formatted Json or XML and a matching Content-Type header of “application/json” or “text/xml”.

But what about other response bodies? These might include plain text or HTML formatted information.

To handle these cases, LeadConduit provides a “Capture” delivery step mapping that let’s you “grab” and map specified portions of the response body as appended data items using Regular Expressions.

For example, assume that a recipient’s success response is plain text, and it includes a reference ID that you’ll need to map out to your CRM is a subsequent delivery.

Outcome: success, Reference ID: 1234567

You want to capture the “1234567” part of this response into an appended data item that you name “captured_id”.

You’d add a mapping to the delivery step, selecting “Capture” from the right-side dropdown:

Image

Type the name you want to assign to the appended item in the mapping’s right-side, and the regular expression used to locate and extract the value from the response body in the mapping’s left side.

Image

Your regular expression must contain one and only one capture group.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.