Hello I’m automating a workflow in [n8n] and want to create a simple chatbot/agent that:
- Receives user input through a chat window.
- Extracts relevant information (time and project name) from the user’s message.
- Uses the project name to perform a vectorized search and returns the top 1 result, comparing by name but retrieving the
project_id
. - Once the time and
project_id
are obtained:
- First, confirm with the client using a message like:
- “120 minutes will be logged to the project: XXxx with project_id: XXxxxx. Is that correct?”*
- If the client approves, proceed with logging the time.
Issue:
I tried implementing the first part, and while the vector search correctly returns the project_id
, the message sent to the user states that no project_id
was found.
Question:
Is this feasible to implement? How can I correctly send the message with the retrieved project_id
?
workflow
Information on n8n setup
- n8n version: 1.72.1
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): own
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Linux Ubuntu