# Social profile analyzer

**Action ID:** `social_profile_analyzer`

## Description

Analyze a social media profile.

## Input Parameters

| Name              | Type   | Required | Default | Description                                            |
| ----------------- | ------ | :------: | ------- | ------------------------------------------------------ |
| social\_data      | string |     ✓    | -       | The social media data to analyze in JSON string format |
| profile\_pic\_url | string |     ✓    | -       | The URL of the profile picture                         |

<details>

<summary>View JSON Schema</summary>

```json
{
  "description": "Social profile analyzer node input.",
  "properties": {
    "social_data": {
      "description": "The social media data to analyze in JSON string format.",
      "title": "Social data",
      "type": "string"
    },
    "profile_pic_url": {
      "description": "The URL of the profile picture.",
      "title": "Profile picture URL",
      "type": "string"
    }
  },
  "required": [
    "social_data",
    "profile_pic_url"
  ],
  "title": "SocialProfileAnalyzerNodeInput",
  "type": "object"
}
```

</details>

## Output Parameters

| Name                       | Type   | Description                                                       |
| -------------------------- | ------ | ----------------------------------------------------------------- |
| strengths                  | array  | The strengths of the social media profile with title and subtitle |
| weaknesses                 | array  | The weaknesses of the social media profile                        |
| love\_life                 | string | Analysis of the love life based on profile                        |
| money                      | string | Analysis of financial status based on profile                     |
| health                     | string | Analysis of health and wellness based on profile                  |
| biggest\_goal              | string | Identified biggest goal or aspiration                             |
| colleague\_perspective     | string | How colleagues might perceive this person                         |
| pickup\_lines              | array  | Creative pickup lines based on profile                            |
| famous\_person\_comparison | string | Comparison to a famous person                                     |
| previous\_life             | string | Humorous take on what they might have been in a previous life     |
| animal                     | string | What animal they resemble                                         |
| fifty\_dollar\_thing       | string | What they would spend $50 on                                      |
| career                     | string | Career analysis and insights                                      |
| life\_suggestion           | string | Suggestions for life improvement                                  |

<details>

<summary>View JSON Schema</summary>

**Output Schema**

```json
{
  "$defs": {
    "ProfileStrength": {
      "description": "A strength of the social media profile.",
      "properties": {
        "title": {
          "description": "The title of the strength.",
          "title": "Title",
          "type": "string"
        },
        "subtitle": {
          "description": "The subtitle of the strength.",
          "title": "Subtitle",
          "type": "string"
        }
      },
      "required": [
        "title",
        "subtitle"
      ],
      "title": "ProfileStrength",
      "type": "object"
    }
  },
  "description": "Social profile analyzer node output.",
  "properties": {
    "strengths": {
      "description": "The strengths of the social media profile.",
      "items": {
        "$ref": "#/$defs/ProfileStrength"
      },
      "title": "Strengths",
      "type": "array"
    },
    "weaknesses": {
      "description": "The weaknesses of the social media profile.",
      "items": {
        "type": "string"
      },
      "title": "Weaknesses",
      "type": "array"
    },
    "love_life": {
      "description": "The love life of the social media profile.",
      "title": "Love life",
      "type": "string"
    },
    "money": {
      "description": "The money of the social media profile.",
      "title": "Money",
      "type": "string"
    },
    "health": {
      "description": "The health of the social media profile.",
      "title": "Health",
      "type": "string"
    },
    "biggest_goal": {
      "description": "The biggest goal of the social media profile.",
      "title": "Biggest goal",
      "type": "string"
    },
    "colleague_perspective": {
      "description": "The colleague perspective of the social media profile.",
      "title": "Colleague perspective",
      "type": "string"
    },
    "pickup_lines": {
      "description": "The pickup lines of the social media profile.",
      "items": {
        "type": "string"
      },
      "title": "Pickup lines",
      "type": "array"
    },
    "famous_person_comparison": {
      "description": "The famous person comparison of the social media profile.",
      "title": "Famous person comparison",
      "type": "string"
    },
    "previous_life": {
      "description": "The previous life of the social media profile.",
      "title": "Previous life",
      "type": "string"
    },
    "animal": {
      "description": "The animal of the social media profile.",
      "title": "Animal",
      "type": "string"
    },
    "fifty_dollar_thing": {
      "description": "The fifty dollar thing of the social media profile.",
      "title": "Fifty dollar thing",
      "type": "string"
    },
    "career": {
      "description": "The career of the social media profile.",
      "title": "Career",
      "type": "string"
    },
    "life_suggestion": {
      "description": "The life suggestion of the social media profile.",
      "title": "Life suggestion",
      "type": "string"
    }
  },
  "required": [
    "strengths",
    "weaknesses",
    "love_life",
    "money",
    "health",
    "biggest_goal",
    "colleague_perspective",
    "pickup_lines",
    "famous_person_comparison",
    "previous_life",
    "animal",
    "fifty_dollar_thing",
    "career",
    "life_suggestion"
  ],
  "title": "SocialProfileAnalyzerNodeOutput",
  "type": "object"
}
```

</details>

## How It Works

This node analyzes social media profiles from various platforms (Twitter, LinkedIn, Facebook, etc.) by processing structured social data in JSON format along with the profile picture. It uses AI to extract insights about personality traits, professional background, lifestyle preferences, and behavioral patterns. The analysis combines data points from social activity, profile information, and visual cues to generate a comprehensive personality and lifestyle assessment.

## Usage Examples

### Example 1: LinkedIn Profile Analysis

**Input:**

```
social_data: '{"platform": "linkedin", "headline": "Senior Software Engineer", "posts": ["Excited about AI", "Just shipped a new feature"], "connections": 500}'
profile_pic_url: "https://example.com/linkedin-photo.jpg"
```

**Output:**

```
strengths: [
  {title: "Technical Expertise", subtitle: "Deep knowledge in software development"},
  {title: "Growth Mindset", subtitle: "Always learning new technologies"}
]
career: "Successful software engineer with strong technical foundation and leadership potential"
biggest_goal: "Advance to technical leadership or architect role"
```

### Example 2: Twitter Profile Analysis

**Input:**

```
social_data: '{"platform": "twitter", "bio": "Coffee addict | Tech enthusiast | Runner", "tweets": 1250, "followers": 3400}'
profile_pic_url: "https://example.com/twitter-pic.jpg"
```

**Output:**

```
health: "Active lifestyle with regular exercise, though caffeine dependency noted"
animal: "A gazelle - quick, energetic, and always on the move"
fifty_dollar_thing: "Premium coffee beans or new running gear"
```

### Example 3: Multi-Platform Analysis

**Input:**

```
social_data: '{"platforms": ["instagram", "linkedin"], "interests": ["travel", "photography", "startups"], "engagement": "high"}'
profile_pic_url: "https://example.com/profile.jpg"
```

**Output:**

```
strengths: [
  {title: "Multi-Faceted", subtitle: "Balances creativity with business acumen"},
  {title: "Well-Connected", subtitle: "Strong social presence across platforms"}
]
famous_person_comparison: "Like Gary Vaynerchuk - entrepreneurial spirit with strong personal brand"
```

## Common Use Cases

* **Recruitment Screening**: Assess candidate cultural fit and personality traits beyond resumes
* **Influencer Marketing**: Evaluate influencer authenticity and audience alignment for campaigns
* **Dating Platforms**: Generate personality insights for better matchmaking and profile enhancement
* **Customer Segmentation**: Understand customer personas for targeted marketing strategies
* **Team Building**: Analyze team member profiles for better collaboration and role assignments
* **Personal Branding**: Get objective feedback on social media presence and personal brand
* **Social Research**: Gather insights about social media behavior patterns and trends

## Error Handling

| Error Type              | Cause                                            | Solution                                                     |
| ----------------------- | ------------------------------------------------ | ------------------------------------------------------------ |
| Invalid JSON            | Social data is not properly formatted JSON       | Validate and format social\_data as valid JSON string        |
| Missing Required Fields | JSON missing key profile information             | Ensure social\_data includes platform, bio, or activity data |
| Invalid Image URL       | Profile picture URL is malformed or inaccessible | Verify the URL is correct and publicly accessible            |
| Empty Social Data       | Social data string is empty or null              | Provide meaningful profile data for analysis                 |
| AI Processing Error     | Analysis service encountered an error            | Retry the request or check if data format is supported       |
| Rate Limit Exceeded     | Too many analysis requests in short period       | Implement request throttling or upgrade service plan         |

## Notes

* **Data Format**: Social data should be a JSON string containing relevant profile information like bio, posts, followers, engagement metrics
* **Multi-Platform Support**: Can analyze data from Instagram, LinkedIn, Twitter, Facebook, and other platforms
* **Privacy Compliance**: Only analyze publicly available data or with explicit user consent
* **Analysis Depth**: More comprehensive social data yields richer and more accurate insights
* **AI Interpretation**: Results are AI-generated and should be used as insights, not definitive assessments
* **Entertainment Elements**: Some outputs (pickup lines, animal comparisons) are designed for engagement and entertainment


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.agenticflow.ai/reference/nodes/social_profile_analyzer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
