Before You Begin
Planning your agent’s workflow before building is crucial. Taking time to visualize the process and break it down into smaller tasks will help you create more effective agents. Consider sketching out your workflow using a tool like Miro or a simple flowchart to map the steps.Step 1: Create a New Agent
- Go to Agent.ai and click “Create an Agent”
- Select “Start from scratch”
- Name your agent (e.g., “Simple Executive Research”)
- Add a description: “Given the LinkedIn handle of an executive, this will generate a summary about the executive”
- Set the trigger to “Manual”
Step 2: Configure User Input
- Add an action to get user input
- Set the prompt to “Enter the LinkedIn handle of the executive”
- Name the output variable “out_handle”
- Save the action
Step 3: Retrieve LinkedIn Profile Data
- Add another workflow action
- Select the “Social Media & Online Presence” option
- Select “LinkedIn Profile” as the data source
- Insert the variable “out_handle” as the profile handle
- Name the output “out_LinkedIn_data”
- Save the action
Step 4: Retrieve LinkedIn Posts
- Add another workflow action
- Go to the “Social Media & Online Presence”option again
- Select “LinkedIn Activity” as the data source
- Insert the LinkedIn URL (you’ll need to format this correctly)
- Name the output “out_LinkedIn_posts”
- Save the action
Step 5: Generate the Executive Summary
- Add a **Generate Content **action
- Select GPT-4 Mini (or another model of your choice)
- Create a prompt like: “I am providing you with the LinkedIn profile and posts of an executive. Please generate a detailed summary.”
- Insert the LinkedIn data variables, labeling them clearly (e.g., “profile data” and “posts”)
- Name the output “out_summary”
- Save the action
Step 6: Display the Results
- Add an action to show the output
- Insert the “out_summary” variable
- Save the action
Step 7: Test Your Agent
- Run your agent
- Enter a LinkedIn handle when prompted
- The agent will retrieve the profile data and posts
- Review the generated summary
Customization Options
You can enhance your agent by modifying the prompt in Step 5. Consider requesting specific information such as:- Education details
- Career progression
- Post sentiment analysis
- Common topics in their content
- Professional interests