---
title: "Export Contact Form 7 Messages (Flamingo) to CSV or Excel"
url: "https://wpimportexport.com/export-contact-form-7-flamingo-messages-csv/"
description: "Export Contact Form 7 submissions saved by Flamingo to CSV or Excel: one column per field, filters by date, spam and message text, schedules and AI agents."
type: post
published: 2026-11-11T07:00:00+00:00
modified: 2026-11-18T13:10:33+00:00
categories: ["Export Guides", "Tutorials"]
tags: ["CSV Export", "Import Export by RockStarLab"]
docs_topics: ["Export guides"]
---

# Export Contact Form 7 Messages (Flamingo) to CSV or Excel

Contact Form 7 sends each message by email and keeps nothing on the site. To have the messages in WordPress, most sites add Flamingo, the free companion plugin from the same author, which saves every submission as an inbound message. [Import Export by RockStarLab](https://wordpress.org/plugins/import-export-by-rockstarlab/) exports those messages to CSV or Excel, one column per form field, with filters for dates, spam and the text of any field. Our example: a coffee roastery’s contact form messages, exported for the support team.

**Free:** exporting Contact Form 7 messages saved by Flamingo, all filters and formats, and the AI agent abilities. You need Contact Form 7 and Flamingo installed and active.

## Short Answer

1. Install and activate Flamingo if you haven’t. It saves messages sent after it is active; earlier messages exist only in your mailbox.
2. Go to **Import Export → Export** and choose **Form Entries**.
3. In step 2, pick your Contact Form 7 form and add filters if you need them.
4. In step 3, add the fields you want, such as `your-name`, `your-email` and `your-message`.
5. Choose CSV or Excel in step 4, start the export and download the file.

## Where the messages are

Flamingo lists the messages under **Flamingo → Inbound Messages**, grouped by form in the Channel column (**Contact Form 7 / Contact us** on our site). Our contact form had received five messages; Flamingo had put one of them in Spam.

![Flamingo Inbound Messages with Inbox (4) and Spam (1), an Export button, and four messages from the Contact Form 7 / Contact us channel](https://wpimportexport.com/wp-content/uploads/2026/11/01-flamingo-inbound.webp)

_Flamingo saves each Contact Form 7 message as an inbound message._

Flamingo has its own **Export** button, which downloads the messages of the current view as a CSV file. The export in this guide is for when you need more: choosing and naming the columns, filtering by the text of a field or by exact dates, Excel or JSON files, a weekly schedule, or an AI agent doing the work.

## Step 1: Choose Form Entries and the form

Open **Import Export → Export** and choose **Form Entries**. In step 2, the form list shows each Contact Form 7 form that Flamingo has saved messages for, with the number of messages that are not spam or in the trash. We picked **Contact us (4)**.

![Export step 2 with the form Contact us (4) selected, 4 total items available and an Add Filter button](https://wpimportexport.com/wp-content/uploads/2026/11/02-choose-form.webp)

_Pick the Contact Form 7 form; spam and trash are left out unless you filter for them._

Useful filters for contact messages:

- **Date** with **Greater or Equal** to get the messages since a day, for example since your last export.
- **your-message** or **your-subject** with **Contains** to find messages about one topic, such as “order” or “subscription”.
- **Status** with the value `spam` to review what was marked as spam.

## Step 2: Choose the columns

Contact Form 7 doesn’t store field labels, so the columns are named after the field names in your form, such as `your-name` and `your-message`. Flamingo also stores a **Subject**, **From name** and **From email** for every message, built from the form’s mail settings. We took the date, the four form fields and the page URL:

![Export step 3 with the columns Date, your-name, your-email, your-subject, your-message and Page URL](https://wpimportexport.com/wp-content/uploads/2026/11/03-columns-1.webp)

_Columns are named after the form's field names._

Click the pencil on a column to give it a friendlier name in the file, for example **Name** instead of `your-name`. The **Page URL** shows which page the form was sent from, which helps when the same form is on several pages.

## Step 3: Export and download

Choose CSV or Excel, name the file and click **Start Export**.

![Export Completed Successfully with 4 items exported, an 807-byte file and a Download Export File button](https://wpimportexport.com/wp-content/uploads/2026/11/04-export-complete-1.webp)

_Four contact messages exported to CSV._

The four messages in the file:

```
Date,your-name,your-email,your-subject,your-message,"Page URL"
"2026-10-05 10:12:00","Olga Petrova",olga.petrova@example.com,"Order 1043 arrived late","The beans came two days after the delivery date. Can you check the courier?",https://www.example-roastery.com/contact-roastery/
"2026-10-18 18:31:00","Tom Baker",tom.baker@example.com,"Grind size for a moka pot","Which grind should I choose for a 3-cup moka pot?",https://www.example-roastery.com/contact-roastery/
"2026-11-02 08:47:00","Ines Silva",ines.silva@example.com,"Gift cards","Do you sell gift cards? We need 40 for a team gift in December.",https://www.example-roastery.com/contact-roastery/
"2026-11-06 12:05:00","Ravi Kumar",ravi.kumar@example.com,"Subscription pause","Can I pause my subscription for January while I travel?",https://www.example-roastery.com/contact-roastery/
```

The spam message was not included. Dates are in your site’s time zone, the same as in Flamingo. In CSV files, text that starts with `=`, `+`, `-` or `@` gets an apostrophe in front, so a spreadsheet won’t run a formula someone typed into your form.

## Several forms

Each form is exported separately, because forms have different fields. If you have a contact form and a booking form, run one export for each, or schedule both in **Jobs Log → Schedules** so they run every week. A finished export can also be repeated from another system with a [webhook trigger](https://wpimportexport.com/trigger-wordpress-import-export-webhook-events/).

## Personal data

Contact messages hold names, email addresses and whatever people wrote to you. Export only the columns the recipient needs, leave out IP address and browser unless they are needed, and delete files you no longer use. Only administrators can run the export.

## With an AI agent

An AI agent connected through the WordPress MCP Adapter (see [connecting Claude Code to WordPress](https://wpimportexport.com/connect-claude-code-to-wordpress-mcp/)) can read the messages for you:

```
Show me the contact form messages since November 1, and tell me how many are in spam.
```

In our run, the agent read the columns of the form with `rsl-ie/form-entry-fields` (source `flamingo`, the form’s channel ID 584 from `rsl-ie/form-entry-forms`) and called `rsl-ie/export-preview` with the filter `date_created` greater or equal `2026-11-01`. It returned the two messages from Ines Silva about gift cards and Ravi Kumar about pausing his subscription. `rsl-ie/export-count` with the status `spam` answered 1. For a file, the same request goes to `rsl-ie/export-start`.

## Before you export

An export only reads messages, but the file contains your visitors’ data, so keep it somewhere safe. If you plan to delete old messages in Flamingo afterwards, [back up the site](https://wpimportexport.com/how-to-create-a-wordpress-website-backup-and-restore-it/) first.

## FAQ

### Can I export Contact Form 7 messages without Flamingo?

No. Contact Form 7 only sends the messages by email and doesn’t save them in WordPress. Flamingo saves them; messages sent before it was active can’t be exported.

### Why are the columns called your-name and your-email?

Those are the field names in the form. Contact Form 7 doesn’t store labels, so the export uses the names. Rename the columns with the pencil in step 3.

### Are spam messages exported?

Only if you ask for them with a Status filter set to spam.

### Can I export only messages about one topic?

Yes. Filter your-message or your-subject with Contains and a word such as “order”.

### Does this work for Contact Form 7 forms without Flamingo data?

A form appears in the list once Flamingo has saved at least one message for it.

## Related Guides

- [Export Gravity Forms Entries to CSV or Excel in WordPress](https://wpimportexport.com/export-gravity-forms-entries-csv-excel/)
- [Trigger WordPress Imports and Exports with Webhooks and Events](https://wpimportexport.com/trigger-wordpress-import-export-webhook-events/)
- [How to Schedule Recurring WordPress Exports to CSV](https://wpimportexport.com/how-to-schedule-repeated-exports-in-wordpress/)
- [CSV Opens in One Column in Excel](https://wpimportexport.com/csv-opens-in-one-column-excel-delimiter/)

Get the free plugin on [WordPress.org](https://wordpress.org/plugins/import-export-by-rockstarlab/).
