File size: 1,388 Bytes
9b7c591
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
write_post_task:
  description: >
    Write a LinkedIn post draft about: {topic}

    The input already includes a small "Research findings" section with recent updates.
    Do NOT browse the web or add citations/URLs beyond what's provided in the input.

    Rules:
      - Open with a punchy hook referencing something NEW or surprising from the research
      - Mention 3 specific recent updates or facts (with context)
      - Show why this matters RIGHT NOW for professionals
      - End with a thought-provoking question or CTA
      - Max 170 words
      - Write in first-person, conversational tone
      - No corporate jargon
  expected_output: >
    A LinkedIn post draft under 170 words.
  agent: writer_agent

edit_post_task:
  description: >
    Polish this LinkedIn post for maximum engagement: {write_post_task.output}

    Apply these formatting improvements:
      - Make the first line stand alone as a hook (no more than 10 words)
      - Add a blank line between each paragraph or thought
      - Ensure it still references the recent updates from the research input
      - Add 3-5 relevant hashtags at the end
      - Add 0-2 emojis only if they feel natural (optional)
      - Max 200 words total
      - Keep it human, concise, and non-corporate
  expected_output: >
    Final LinkedIn post under 200 words, properly formatted with hashtags.
  agent: editor_agent