Extract contacts from XML on a schedule

Recipe ToolsMarketingDocument/FileSales EnablementData ParserUtilitiesProductivity

What it does

When a specified interval triggers, this automation downloads an XML file from Google Drive and parses it to extract contact rows. The parsed data is sent via Gmail so the team has clean contact information ready to use.

Who it's for

Data and analytics teams who need to extract and validate contact data from XML files on a regular schedule.

How teams use this

Extract contacts from a weekly export

Download and parse an XML file from Google Drive every Monday morning, then email the contact rows to the team. The schedule and file location stay the same each week.

Validate contact data before sending

Parse the XML file and filter out records with missing first names or email addresses before sending them via Gmail. Only complete contacts are included in the message.

Route parsed data to different teams

Parse the XML file and send the contact rows to different email addresses based on region or department. The parsing logic stays the same and only the recipient changes.

How it works

  1. Run on a specified interval. This automation runs on the schedule someone sets, such as daily or weekly, so the XML file is processed at the right time.
  2. Download file contents from Google Drive. Retrieve the XML file from Google Drive so it can be processed and parsed in the next step.
  3. Parse the XML document. Extract contact rows from the XML file using Xml Parser and prepare them for validation and filtering.
  4. Send parsed contacts via email. Send the extracted and validated contact data to someone via Gmail so the team can review and use the clean records.