{
“nodes”: [
{
“parameters”: {
“modelId”: {
“__rl”: true,
“value”: “chatgpt-4o-latest”,
“mode”: “list”,
“cachedResultName”: “CHATGPT-4O-LATEST”
},
“messages”: {
“values”: [
{
“content”: “=Write a hyper-personalized LinkedIn connection request message based on the following details:\n\n- First Name: {{ $json.first_name }}\n- Current Role/Headline: {{ $json.Headline }}\n- Company: {{ $json.current_company }}\n- Location: {{ $json.location_name }}\n- About: {{ $json.About }}\n{% if Post_1 or Post_2 or Post_3 %}\n- Recent LinkedIn Post: {{ $json[‘Post 1’] }} OR {{ $json[‘Post 2’] }} OR {{ $json[‘Post 3’] }}\n{% endif %}\nIf the post is related to job post or recent hiring do not refer the post for the connection request.\n\nTone: Professional and friendly. Avoid sales pitch. The goal is to build a genuine connection based on their background, interests, or recent activity.\nEnsure that the connection is short and to the point to increase readability request\nDo not sound desperate\nGoal is to make the prospect feel valued and accept the connection request\nLimit the message to max 2 sentences and under 200 characters”
}
]
},
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.openAi”,
“typeVersion”: 1.8,
“position”: [
208,
0
],
“id”: “a74e7ec7-3663-4b6f-8467-1a39ab3ffd90”,
“name”: “Message a model”,
“credentials”: {
“openAiApi”: {
“id”: “mHqvA4DzVogNl2MV”,
“name”: “OpenAi account”
}
}
}
],
“connections”: {
“Message a model”: {
“main”: [