{"html":"<p>I publish and exchange every day on LinkedIn and X. I wanted to answer a fairly simple question: <strong>what does all this activity actually produce?</strong></p><p>How many posts? How many comments and replies? What times am I most active? Which posts generate reactions, responses or impressions?</p><p>The platforms provide some of this information. The problem begins when we want to bring them together, preserve them and read them over time.</p><p>I could have started with the official APIs. But that of X quickly represents a significant cost for a personal need, while access to LinkedIn data is more complex to implement. So I built another path: <strong>an AI agent collects my own publications and their results, stores them in a spreadsheet, then an application transforms this file into a dashboard.</strong></p><figure class=\"kg-card kg-image-card\"><img src=\"/images/social-dashboard-agent-pipeline.svg\" alt=\"Schéma montrant un agent IA qui collecte les données LinkedIn et X, les stocke dans un tableur puis alimente un tableau de bord\" loading=\"lazy\" width=\"1600\" height=\"900\"></figure><h2>The real product is not the dashboard</h2><p>The dashboard is the visible part. It is the one that displays colored maps, activity curves, distributions by language or type and comparison of publications.</p><p>But the interesting part is upstream.</p><p>The real system has three bricks:</p><ol><li><strong>an AI agent that observes my accounts</strong> and find the posts, comments and responses that I have published;</li><li><strong>a spreadsheet file</strong> which keeps a structured line for each action and each measure;</li><li><strong>a private web application</strong> which reads this file and calculates the indicators.</li></ol><p>In other words, I did not create a screen connected directly to LinkedIn and X. I separated the collection from the analysis.</p><p>This distinction seems technical. Yet it changes everything.</p><h2>Step 1: The AI agent does the collection work</h2><p>The agent browses the networks with my account and finds the content that I have published. For each element, it retrieves what it can observe: date, time, platform, action type, text, link and, when available, reactions, shares, replies and impressions.</p><p>It doesn't just look for original posts. The log can also contain comments, replies, thread continuations, and actions taken later.</p><p>This approach is different from a classic API integration. The agent acts as an automated operator that reads the interface, with a limited cadence and on my own data. This avoids making the project dependent on the economic model of an API, but it creates other constraints: an interface can change, a session can expire and certain metrics are not always visible.</p><p>So I'm not trying to make you believe that this collection is perfect. On the contrary, I keep track of what has been observed and what is missing.</p><h2>Step 2: The spreadsheet becomes the source of truth</h2><p>The agent then writes the results into a spreadsheet file, now hosted in Google Sheets. It is the equivalent of an online Excel file: easy to open, correct and export.</p><p>Each line may contain:</p><ul><li>date and time;</li><li>the platform and identity used;</li><li>the type of action and the language;</li><li>the target, the detail and the text;</li><li>the link to the publication;</li><li>verification status;</li><li>reactions, shares, responses and impressions;</li><li>respondents and date of last measurement.</li></ul><p>Why not write directly to a database? Because the spreadsheet brings four very concrete advantages here.</p><p><strong>It is readable.</strong>I can open the source and immediately understand what the system thinks it knows.</p><p><strong>It is correctable.</strong>If the agent misclassifies an action or reads a number wrong, I can correct the line.</p><p><strong>It is portable.</strong> I can export it, archive it or feed it to another tool without rebuilding the entire collection.</p><p><strong>It decouples the two parts.</strong> The agent can evolve without modifying the dashboard. And the interface can change without touching the agent.</p><blockquote>The spreadsheet is not a temporary solution. It is the contract between the system that collects and the one that analyzes.</blockquote><h2>Step 3: Dashboard reads the file directly</h2><p>The web application does not have its own copy of the data. After authentication, a server function reads the useful range of the Google Sheets and transforms each row into a structured object.</p><p>The browser only receives authorized lines. He can then:</p><ul><li>filter LinkedIn, X or global lines;</li><li>count interactions, posts and active days;</li><li>show activity by day, week or month;</li><li>distribute actions by time, type, language, identity and status;</li><li>compare posts by reactions, replies, shares, impressions and engagement rate;</li><li>find the original text and link.</li></ul><p>A refresh button rereads the sheet. There is no mysterious synchronization: when the agent enriches the spreadsheet, the dashboard has the new material the next time it is loaded.</p><h2>The most important rule: an empty box is not a zero</h2><p>When you automate collection, the main risk is not always the wrong number. That’s the number too clean.</p><p>If a post doesn't show its impressions or the agent couldn't read the number of shares, the value remains missing. The dashboard displays a dash. It does not transform the absence of information into an absence of commitment.</p><p>The overall rate follows the same logic. It is only calculated on publications that have the necessary reactions, shares, replies and impressions, with positive impressions. I prefer an incomplete but honest indicator to a precise percentage built on invented zeros.</p><figure class=\"viz\"><ol class=\"viz-checks\"><li>Reactions are available.</li><li>Shares are available.</li><li>Replies are available.</li><li>Impressions are available and positive.</li></ol><figcaption>The conditions that a post must meet to be included in the overall engagement rate.</figcaption></figure><h2>What this architecture teaches me</h2><p><strong>1. An agent can replace an integration, not its guarantees.</strong>It can do the collection work, but you have to plan for interface changes, interrupted sessions and incomplete reads.</p><p><strong>2. A simple middle layer is often better than a direct connection.</strong> The spreadsheet makes the system inspectable. I can see the transition between what the officer observed and what the chart shows.</p><p><strong>3. Traceability matters more than real time.</strong> For this use, I do not need a counter updated by the second. I need to be able to return to the publication, the measure and its date.</p><p><strong>4. The best dashboard starts with log quality.</strong> Charts do not correct ambiguous collection. They only make her prettier.</p><h2>Why do I find this montage interesting</h2><p>AI agents are often presented as tools that discuss or write. Here, the agent does something more modest and more useful: it maintains usable data where a traditional integration would be too costly or too complicated for the need.</p><p>The result is not a universal architecture. For a product sold to thousands of customers, I would probably look for official integrations and stronger guarantees. To monitor my own activity, however, this combination is suitable: <strong>an agent to observe, a spreadsheet to store, an application to understand.</strong></p><p>You can discover the complete presentation of the project on the page <a href=\"/projets/tableau-de-bord-social\"><strong>LinkedIn & X Dashboard</strong></a>.</p>"}