SuiteCRM Integration

@Jason_Den @alexhammerschmied make sure you upvote the feature request. The more votes, the more chances of being developed. That way, this node will come out of the box with n8n.

2 Likes

Why don’t you make a PR to the project with the SuiteCRM implementation you created?

sorry I have not encountered this. I could only google search too

I don’t quite understand, PR with which content?

The suiteCRM node?

done :slight_smile: I am happy to test something regarding a PR.

@svenjanssen when I connect the node to my suitescrm and try to run a “get all” function it gives mi a
500 Error - undefined.
Any ideas why this would happen?

Hi people,
as mentioned in this post: External CLI tools in n8n - #13 by alexhammerschmied
i was able to create a Dockerimage which installs the plugin and the dependencies. So from n8n side everything seems to work.

But I can’t get the connection to work. What am I missing? I walked through all the steps with the crm module but somehow no data gets fetched or sent to suitecrm.

Can anybody help me? Does someone know where to look or dig deeper?

How were you able to resolve the previous errors with the “python is not a valid…” and the 500?

Things to look for:
Did you install the suitecrm API according to the docs? Does it work with postman? (Many errors were present on suite side in the past, some of them needed manual fixing. I think they are resolved depending on which version you are running)

Did you install the plugin for suitecrm that comes with the webhook?

Please create a regular webhook node (not suite), click open “URL” and check if it is correct “https://your-domain.com:1234

Hi @svenjanssen!
I am able to get the swagger.json with postman.
It seems to be reachable. But as soon as I try to connect to SuiteCRM with OAuth2 it gives me an error and tells me it can’t complete the token request.

I don’t know what to do.

Swagger.json can usually be reached without authenticating. To make sure everything works please authenticate using postman. There is a suitecrm postman package to be found somewhere so you don’t have to create it yourself. Then you can test oauth2 and the endpoints.

Also check (.htaccess issue on suitecrm side)

2 Likes

we did it recently

1 Like

Hello lovely people!
Any news on this? Can i help testing?

Hi Alex,

unfortunately I can’t edit the post up there so here is how I would do it today:
Install n8n using our image (digitalboss/n8n-custom-nodes:latest) with env [email protected]/n8n-nodes-suitecrm;
Using the image you can also load other modules such as the trigger automatically. If you mount the volume you can then use n8nio/n8n image afterwards and it will load the modules which were installed. The modules only load when the container is first created, so for any updates of the custom modules you need to recreate the container.

The @digital-boss/n8n-nodes-suitecrm is the new package, it does not require mmmagic procedure from above anymore.

If you go do it the old way, you want to npm i @digital-boss/n8n-nodes-suitecrm into /home/node/.n8n/custom folder

1 Like

Hi @svenjanssen

PArdon me for being stupid - so to get this to work we should be:

adding to docker-compose.yml:

n8n:
image: digital-boss/n8n-custom-nodes:latest

and to the .env in the docker-build folder:

[email protected]/n8n-nodes-suitecrm;

I’ve tried this on a fresh docker install, and i’m not seeing the module. Have I missed something?

Thanks in advance,

Luke

[email protected]/n8n-nodes-suitecrm is correct yes, it shows up under "Custom Modules

When you first create the container, the logs should indicate, that the module / custom node has been installed:

custom module: @digital-boss/n8n-nodes-suitecrm
+ @digital-boss/[email protected]
installed 1 package and audited 381 packages in 5.417s
15 packages are looking for funding
run `npm fund` for details
1 Like

Grand, all sorted. I just followed the old NPM instructions.

Cheers for maintaining the image, and the support!

For anyone who reads this now, you can use the “install community nodes” feature or @digital-boss/n8n-nodes-market node to install this and other custom nodes.

I had wondered what n8n-nodes-market was as the docs was a bit light and the source is not available.

@svenjanssen Is this working with 8.1.x as I can’t seem to get Oath2 to work with credentials.

I can successfully connect with a Postman Collection and get records, and if I do a HTTP request in n8n to get the auth token that works as well.

Through testing, all of these values need to be sent:

But if I try to set up the credentials in n8n that fails as it’s missing all for fields.

If i try to pass the token into another http request that is the ‘similar’ to the successful Postman request, that fails.

I can’t find at way to pass the token into your module either to call the suite endpoints.

Any ideas?