« Previously: Response Parsing Overview
For plain text or HTML responses (but not XML or JSON), string values can be extracted into appended data by mapping regular expressions to "capture" variables.
For example, with a response like:
and this mapping in the outbound step:
The value from the regular expression's match group will be appended to the lead data:
Note: The formulation of expression can be tricky, especially for long or multi-line responses. Mapped regular expression values are lowercased, so take that into consideration, or use syntax like
Line-separators in the response may not match anchors (
$) as expected, so the "multiline" modifier may be needed (
Another example, which will result in
title being set with "The Raven":
Mapping captured parameters into rules or outbound steps.
Parameters that have been appended using "Capture" don't show up in the field dropdown as do other appended parameters. Here's how to map them: