Momentum has entered into a definitive agreement to be acquired by Salesforce

[Read more here](https://www.salesforce.com/news/stories/salesforce-signs-definitive-agreement-to-acquire-momentum/)

# AI-Driven LinkedIn Analytics & Top Performing Post Analysis

Inspired from Daniel Disney of https://danieldisney.online/ AI analyzes LinkedIn post performance metrics (impressions, likes, comments) to identify top-performing content themes for better engagement and lead generation.

[See this prompt in action](https://www.momentum.io/prompts/ai-driven-linkedin-analytics-top-performing-post-analysis#)

You will be analyzing LinkedIn analytics data to identify the top performing posts. Here are the steps to follow:

1. First, prompt the user to provide the LinkedIn analytics data by outputting:
   
   Please provide the LinkedIn analytics data you would like me to analyze:

2. Once the user has provided the data, store it in the {$LINKEDIN_ANALYTICS} variable.

3. To identify the top performing posts based on impressions:
   
   - Look at the "Impressions" column in the data
   
   - Sort the rows in descending order by the "Impressions" values
   
   - The post(s) with the highest "Impressions" value are the top performers based on impressions

4. To identify the top performing posts based on likes:
   
   - Look at the "Likes" column
   
   - Sort the rows in descending order by the "Likes" values
   
   - The post(s) with the highest "Likes" value are the top performers based on likes

5. To identify the top performing posts based on comments:
   
   - Look at the "Comments" column
   
   - Sort the rows in descending order by the "Comments" values
   
   - The post(s) with the highest "Comments" value are the top performers based on comments

6. Provide the top performing posts in the following order:
   
   Impressions:
   
   List the post title(s) and impressions value(s) of the top post(s) by impressions
   
   Likes:
   
   List the post title(s) and likes value(s) of the top post(s) by likes
   
   Comments:
   
   List the post title(s) and comments value(s) of the top post(s) by comments

Make sure to analyze the provided {$LINKEDIN_ANALYTICS} data thoroughly. Let me know if you need any clarification on these instructions!

Category:

Analyze

Useful for:

Daniel Disney Prompts
