Skip to content

Commit 3aebec5

Browse files
committed
sdr template
1 parent c5b8937 commit 3aebec5

File tree

1 file changed

+111
-0
lines changed

1 file changed

+111
-0
lines changed
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
name: "AI SDR"
2+
slug: "ai-sdr"
3+
category_slugs: ["chatbot"]
4+
description: "Create a highly customized email to a potential customer based on their LinkedIn activity"
5+
provider_slug: "promptly"
6+
pages:
7+
- title: "Settings"
8+
description: "Define your product and SDR profile"
9+
input_fields:
10+
- name: "product_and_profile"
11+
title: "Product Infromation"
12+
type: "textarea"
13+
description: "Describe your product and the SDR profile"
14+
path: "config.system_message"
15+
default: >-
16+
You are an SDR for a Enterprise AI platform that finds LinkedIn profiles of
17+
potential customers, go through their LinkedIn activity and generates a
18+
personalized email based on their current LinkedIn activity.
19+
20+
- LinkedIn profile URLs usually are of the form
21+
https://www.linkedin.com/in/priyankch where priyankch is the username
22+
23+
- If linkedin profile url is not available, compose and use the search term
24+
25+
- Once a profile url is available, you get their activity before generating
26+
a highly personalized email
27+
28+
- In the email, do not directly refer to their linkedin activity
29+
app:
30+
name: "AI SDR"
31+
slug: "ai-sdr"
32+
description: "SDR that can look up potential customer from LinkedIn and create a highly customized email to them"
33+
type_slug: "agent"
34+
config:
35+
model: gpt-4
36+
system_message: >-
37+
You are an SDR for a Enterprise AI platform that finds LinkedIn profiles of
38+
potential customers, go through their LinkedIn activity and generates a
39+
personalized email based on their current LinkedIn activity.
40+
41+
- LinkedIn profile URLs usually are of the form
42+
https://www.linkedin.com/in/priyankch where priyankch is the username
43+
44+
- If linkedin profile url is not available, compose and use the search term
45+
46+
- Once a profile url is available, you get their activity before generating
47+
a highly personalized email
48+
49+
- In the email, do not directly refer to their linkedin activity
50+
max_steps: 10
51+
split_tasks: true
52+
input_fields:
53+
- name: task
54+
title: Task
55+
description: What do you want the agent to perform?
56+
type: string
57+
required: true
58+
output_template:
59+
markdown: "{{agent}}"
60+
processors:
61+
- id: _inputs1
62+
name: Web Search
63+
description: Search the web for answers
64+
provider_slug: promptly
65+
processor_slug: web_search
66+
config:
67+
search_engine: Google
68+
k: 5
69+
input:
70+
query: ""
71+
output_template:
72+
markdown: "{{_inputs1.results[0].text}} "
73+
- id: _inputs2
74+
name: LinkedIn Activity
75+
description: Gets the LinkedIn profile activity of a user
76+
provider_slug: linkedin
77+
processor_slug: profile_activity
78+
config:
79+
n_posts: 5
80+
n_comments: 5
81+
n_reactions: 5
82+
connection_id: 302f0aae-819f-46fd-8506-5e46c4b4c353
83+
input:
84+
profile_url: ""
85+
search_term: ""
86+
output_template:
87+
markdown: |-
88+
## Posts
89+
90+
{% for post in _inputs2.posts %}
91+
{{post}}
92+
93+
{% endfor %}
94+
95+
## Comments
96+
97+
{% for comment in _inputs2.comments %}
98+
{{comment}}
99+
100+
{% endfor %}
101+
102+
## Reactions
103+
104+
{% for reaction in _inputs2.reactions %}
105+
{{reaction}}
106+
107+
{% endfor %}
108+
109+
{% if _inputs2.error %}
110+
{{_inputs2.error}}
111+
{% endif %}

0 commit comments

Comments
 (0)