Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saas #28

Open
KatiaSishost opened this issue Dec 8, 2023 · 6 comments
Open

Saas #28

KatiaSishost opened this issue Dec 8, 2023 · 6 comments
Labels
question Further information is requested

Comments

@KatiaSishost
Copy link

KatiaSishost commented Dec 8, 2023

With ChatWoot, Not work with Second account (SaaS) only with main account and our users... But if u create a other admin account (other business) It no work.

@archanjoco
Copy link

Working fine around here. What kind of problem are you facing? Can you post some prints so we could take a look?

@KatiaSishost
Copy link
Author

No second USER.... SECOND ACCOUNT from ChatWoot.

i can send the /qrcode and it work fine un account 1...
in account2 the contact is added but when i send /qrcode it no response

@archanjoco
Copy link

The n8n flow starts? What do you see in the previous executions?

If it are not executing the n8n flow, try that:

Create an automation that if a message is sent with "/qrcode" to any number it starts the webhook from the QRCode node on n8n.

Tell us if it worked. It was not supposed to work that way. But that way we will know if everything else is workink properly.

@KatiaSishost
Copy link
Author

KatiaSishost commented Dec 13, 2023

in QuepasaQrcode - > Envia QRCode No Chatwoot

1 item
[
{
"identifier": 
"ryYQ8jRXq5TwHfFPjbkFvZT7",
"channel_id": 
3,
"qptoken": 
"ryYQ8jRXq5TwHfFPjbkFvZT7",
"URL FORMADA": 
"http://127.0.0.1:5678/webhook/from-chatwoot?qphost=http://127.0.0.1:31000&identifier=ryYQ8jRXq5TwHfFPjbkFvZT7&cwhost=http://127.0.0.1:3000&cwpublic=&utoken=prfGpzZGTFiiBDDVKwix5dGp&atoken=gSbLk6coudcpqhbFiVNDCMGn"
}
]
{
"status": 
"rejected",
"reason": 
{
"message": 
"422 - {"error":"undefined local variable or method `response_sources' for #<Inbox id: 3, channel_id: 3, account_id: 2, name: \"Test\", created_at: \"2023-12-12 19:17:26.422516000 +0000\", updated_at: \"2023-12-12 19:17:26.422516000 +0000\", channel_type: \"Channel::Api\", enable_auto_assignment: true, greeting_enabled: false, greeting_message: nil, email_address: nil, working_hours_enabled: false, out_of_office_message: nil, timezone: \"UTC\", enable_email_collect: true, csat_survey_enabled: false, allow_messages_after_resolved: true, auto_assignment_config: {}, lock_to_single_conversation: false, portal_id: nil, sender_name_type: \"friendly\", business_name: nil>"}",
"name": 
"Error",
"stack": 
"Error: 422 - {"error":"undefined local variable or method `response_sources' for #<Inbox id: 3, channel_id: 3, account_id: 2, name: \"Test\", created_at: \"2023-12-12 19:17:26.422516000 +0000\", updated_at: \"2023-12-12 19:17:26.422516000 +0000\", channel_type: \"Channel::Api\", enable_auto_assignment: true, greeting_enabled: false, greeting_message: nil, email_address: nil, working_hours_enabled: false, out_of_office_message: nil, timezone: \"UTC\", enable_email_collect: true, csat_survey_enabled: false, allow_messages_after_resolved: true, auto_assignment_config: {}, lock_to_single_conversation: false, portal_id: nil, sender_name_type: \"friendly\", business_name: nil>"} at createError (/usr/lib/node_modules/n8n/node_modules/axios/lib/core/createError.js:16:15) at settle (/usr/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/usr/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:269:11) at IncomingMessage.emit (node:events:526:35) at IncomingMessage.emit (node:domain:552:15) at endReadableNT (node:internal/streams/readable:1376:12) at processTicksAndRejections (node:internal/process/task_queues:82:21)"
}
}

i need create manual AgentBot for 2nd Account... send /qrcode and receive only the qrcode... i scan it and in n8n display this error

image

image

O outro problema é que ao criar uma 2ª conta o AgentBot não se cadastra automaticamente... então para ele deixar você receber você deve criar manualmente um AgentBot e atribuí-lo à 2ª conta, após escanear o código que não faz nada, ele gera o AgentBot... você troca o agente bot mas ele também não faz nada

@nocodeleaks
Copy link
Owner

Status ?

@nocodeleaks nocodeleaks added the question Further information is requested label Jan 26, 2024
@KatiaSishost
Copy link
Author

no solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants