Describe the problem/error/question
I’m trying to integrate n8n with Bitrix24. Both run on-prem. I was able to create HTTP request simply by importing curl. Bitrix requires USER_ID and SECRET_KEY in the URL:
curl -X POST "https://company.com/rest/USER_ID/SECRET_KEY//crm.deal.list" \
-H "Content-Type: application/json" \
-d '{
"order": { "DATE_CREATE": "DESC" },
"filter": { ">PROBABILITY": 1 },
"select": [ "ID", "TITLE", "STAGE_ID" ]
}'
Is there a way to keep USER_ID and SECRET_KEY as custom credentials (or any other type) and pass them as variables using js expression?
What is the error message (if any)?
Please share your workflow
I swapped the real id and secret key with USER_ID and SECRET_KEY
Share the output returned by the last node
not relevant
Information on your n8n setup
- **n8n version: 1.98.2
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker
- Operating system: ubuntu server 24