Hi Im having an issue where Ive selected the resource as Text in an Open AI assistant but it’s saying “Prompt” and not text. So the output isnt just a plain URL. Is there a setting ive missed?
{
“nodes”: [
{
“parameters”: {
“formTitle”: “Linked in Outreach Trigger”,
“formDescription”: "Insert an audience for your LinkedIn Outreach Campaign here. ",
“formFields”: {
“values”: [
{
“fieldLabel”: "Describe your audience in plain English. ",
“fieldType”: “textarea”,
“placeholder”: "Job role, Company type, Location etc. ",
“requiredField”: true
}
]
},
“options”: {}
},
“type”: “n8n-nodes-base.formTrigger”,
“typeVersion”: 2.2,
“position”: [
0,
0
],
“id”: “8040f61d-e481-4562-9a67-9a3d9e1e5593”,
“name”: “On form submission”,
“webhookId”: “7a10518d-5ad7-4281-a9d0-c9d8f71e6f8a”
},
{
“parameters”: {
“modelId”: {
“__rl”: true,
“value”: “gpt-4.5-preview”,
“mode”: “list”,
“cachedResultName”: “GPT-4.5-PREVIEW”
},
“messages”: {
“values”: [
{
“content”: "Your a helpful intelligent sales assistant. ",
“role”: “system”
},
{
“content”: “your task is to take a natural language description if a prospect audience and turn it into am Apollo search URL. \n\nHeres and example of Apollo search URL. \n\nApollo url describesThat Apollo link shows - job role of UK-based mortgage brokers who:\n- Work in areas like real estate, insurance, lending, and finance\n- Have real, verified email addresses (not generic ones like info@)\n- Are ranked by how relevant or recommended they are\n\nYou can change those fields (and only those fields) \n\nReturn your fields in JSON using this format:\n\n{"searchUrl":"search url goes here"}”
},
{
“content”: “={{ $json['Describe your audience in plain English. '] }}”
}
]
},
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.openAi”,
“typeVersion”: 1.8,
“position”: [
220,
0
],
“id”: “bc422c10-2901-4367-9e61-df6d90c5213e”,
“name”: “OpenAI”,
“credentials”: {
“openAiApi”: {
“id”: “Wv3HGZD3MEglfsZx”,
“name”: “My Test Agent”
}
}
}
],
“connections”: {
“On form submission”: {
“main”: [
[
{
“node”: “OpenAI”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “cf0c84783e7d4f5a234c2072c48616772a33adbfd47f661a456bbba72fa44c5b”
}
}
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.