Linking Writesonic as a source
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

This source is currently in alpha. The interface and available tables may change.
The Writesonic connector syncs performance summary, performance prompts, performance answers, and more into the PostHog data warehouse, so you can analyze them alongside your product data.
Prerequisites
Credentials that can read the data you want to sync. PostHog only reads data, so read access is enough.
Adding a data source
- In PostHog, go to the Sources tab of the data pipeline section.
- Click + New source and click Link next to this source.
- Enter your credentials (see Configuration below) and click Next.
- Select the tables you want to sync, choose a sync method and frequency, then click Import.
Once the syncs are complete, you can start querying this data in PostHog.
Connect Writesonic to pull your GEO (generative engine optimization) data - brand visibility, rank, and mentions across AI platforms like ChatGPT and Perplexity - .
You'll need:
- A Writesonic API key with GEO API access (revealed in your account's API dashboard; requires a plan with API access)
- The site URL of the tracked website, exactly as configured in Writesonic (e.g.
https://example.com) - Optionally, a project ID to disambiguate when the same site is tracked in multiple projects
You'll be asked for:
- API key: for example
Your Writesonic API key. - Site URL: for example
https://example.com.
Sync modes
Each table can be synced in one of several modes, depending on what the source supports:
- Webhook (when available) – the source pushes changes to PostHog in real time. Fastest freshness, lowest ongoing cost, and the only mode that reliably captures updates and deletes.
- Incremental – only new or updated rows are synced on each run, using a cursor field (such as an
updated_attimestamp). Cheaper than a full refresh, but deletes aren't captured. - Append only – new rows are appended using a cursor field; existing rows are never updated. Ideal for immutable, append-only tables like event logs.
- Full refresh – the whole table is reloaded on every sync. Use it when a table has no reliable cursor or when you need deletions reflected.
See sync methods for a full explanation of how each mode works and how to choose between them.
All Writesonic tables are full refresh. Each sync replaces the contents of the table.
Configuration
| Option | Type | Required |
|---|---|---|
API key | password | Yes |
Site URL | text | Yes |
Project ID (optional) | text | No |
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
performance_summary | Only syncs the last 365 days on initial sync | Incremental, Full refresh | date | date, website_id |
performance_prompts | Only syncs the last 365 days on initial sync | Incremental, Full refresh | date | date, prompt_id |
performance_answers | Only syncs the last 365 days on initial sync | Incremental, Full refresh | date | date, response_id |
content_citations | Only syncs the last 365 days on initial sync | Incremental, Full refresh | date | date, citation_id |
content_keywords | Only syncs the last 365 days on initial sync | Incremental, Full refresh | date | date, id |
topics | The topics configured for the tracked site. Prompts are grouped under topics. | Full refresh | — | topic_id |
platforms | The AI platforms/models (e.g. ChatGPT, Perplexity, Google AI Overviews) enabled for the tracked site. | Full refresh | — | platform_id |
websites | All websites associated with the tracked site: your own properties and every tracked competitor. | Full refresh | — | website_id |
prompts | All prompts (queries) configured for the tracked site, with their topic, country, and status. | Full refresh | — | prompt_id |
Troubleshooting
- If the connection fails with an authorization error, the API key is wrong, expired, or has been revoked. Create a new one, then reconnect the source.
- If a table syncs no rows, the credential may not have access to that data. Check its permissions, then reconnect the source.
If your sync is failing or data looks wrong, see the Data warehouse troubleshooting guide. If that doesn't help, contact support – we're happy to help.