{"product_id":"n8n-workflow-facebook-graph-api-to-google-sheets-engagement","title":"n8n Workflow: Facebook Graph API to Google Sheets Engagement","description":"\u003ch3\u003eAutomatically track Facebook post engagement and sync it to Google Sheets\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow pulls your Facebook Page’s latest posts via the \u003cstrong\u003eFacebook Graph API\u003c\/strong\u003e, calculates \u003cstrong\u003elikes\u003c\/strong\u003e, \u003cstrong\u003ecomments\u003c\/strong\u003e, and \u003cstrong\u003eshares\u003c\/strong\u003e per post, then \u003cstrong\u003eappends or updates\u003c\/strong\u003e those engagement metrics in \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e—ready for reporting, monitoring, and analysis.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns manually or on an optional daily schedule\u003c\/strong\u003e to keep your metrics up to date.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReads configuration values\u003c\/strong\u003e such as the Graph API version, the number of posts to check, and a delay between requests to help reduce rate-limit risk.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches your Facebook Page details and post feed\u003c\/strong\u003e, then splits the response into individual posts.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFor each post\u003c\/strong\u003e, requests engagement totals from the Facebook Graph API: reaction totals, comment totals, and share counts.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCombines the metrics\u003c\/strong\u003e into a single record per post (including \u003cstrong\u003epost ID\u003c\/strong\u003e and \u003cstrong\u003epost text\/message\u003c\/strong\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUpdates Google Sheets\u003c\/strong\u003e by appending new rows or updating the existing row for each \u003cstrong\u003epost ID\u003c\/strong\u003e, with a short wait between posts.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eMonitor \u003cstrong\u003eFacebook content performance\u003c\/strong\u003e over time without exporting data manually.\u003c\/li\u003e\n  \u003cli\u003eMaintain a \u003cstrong\u003esingle engagement dashboard\u003c\/strong\u003e in Google Sheets for a client or internal team.\u003c\/li\u003e\n  \u003cli\u003eTrack post-level metrics (likes, comments, shares) to support social media reporting workflows.\u003c\/li\u003e\n  \u003cli\u003eRun scheduled engagement checks daily for faster insights and consistent recordkeeping.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\u003c\/strong\u003e: Facebook Graph API (Page access token) and Google Sheets (OAuth2).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n workflow logic \/ nodes\u003c\/strong\u003e: set, wait, merge, split out, sticky note, Google Sheets.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup requirements\u003c\/strong\u003e: ensure your Google Sheets tab includes columns for \u003cem\u003epost ID\u003c\/em\u003e, \u003cem\u003epost text\u003c\/em\u003e, \u003cem\u003elikes\u003c\/em\u003e, \u003cem\u003ecomments\u003c\/em\u003e, and \u003cem\u003eshares\u003c\/em\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45785725075635,"sku":"N8N-17900","price":18.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/IMRtsucNWPyc_UKo1ycTo_UvPtS2gB.png?v=1786180431","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-facebook-graph-api-to-google-sheets-engagement","provider":"N8N Commerce","version":"1.0","type":"link"}