# Facebook Leads connector

> Connect Facebook Leads to Windsor.ai: 35 fields in 2 tables, and how to query them or send them to a destination.

The Facebook Leads connector pulls your Facebook Leads data into Windsor.ai. You can query it with one API, send it to a destination, or ask about it in Claude or ChatGPT.

## Connect Facebook Leads

1. Open [Facebook Leads in Windsor.ai](https://onboard.windsor.ai/app/facebook_leads) and sign in.
2. Authorize Facebook Leads, or enter the credentials that the screen asks for.
3. Select the accounts to include.

## Available data

35 fields in 2 tables.

| Table | Fields | Examples |
| --- | --- | --- |
| Other | 18 | Data fetched at, Data Source, Day of month, Month, Now |
| Leads | 17 | Account ID, Account Name, Ad Name, Ad Set ID, Ad Set Name |

The full list, with the type and description of each field, is at `https://connectors.windsor.ai/facebook_leads/fields`.

## Query the data

Request fields by their IDs. For example:

```url
https://connectors.windsor.ai/facebook_leads?api_key=YOUR_API_KEY&fields=date,account_id,account_name&date_preset=last_7d
```

## Next steps

- [Send the data to a destination](https://windsor.ai/documentation/destinations/index.md), such as Looker Studio, Google Sheets or BigQuery.
- [Connect Windsor.ai to Claude or ChatGPT](https://windsor.ai/documentation/mcp/index.md) and ask about your Facebook Leads data.
- [Fix a connection problem](https://windsor.ai/documentation/troubleshooting/index.md).
