I am quite newbie using n8n, so forgive me beforehand if I am asking something that may be easy, or it has been solved already (FYI, I did not found anything related to it in the forum).
In short, I would like to know if it is possible to integrate n8n workflows with AWS CloudFormation. The main purpose of this is to create devices (or things speaking in AWS IoT terms) from templates already defined by us (these includes which data the device sends, how many alarms they can generate, etc…).
If that is not possible, which could be the best approach to do so?
Looking forward to hearing from you.
Kind regards.
Daniel.
Information on your n8n setup
n8n version: 1.41.1
Database (default: SQLite): The default one, SQLite
n8n EXECUTIONS_PROCESS setting (default: own, main): I guess the default one.
Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
Well… you can define the configuration to setup your n8n docker instance and import there any workflows and credentials + activate workflows via the CLI commands
Well, I was thinking more of a direct integration with AWS CloudFormation, but it looks like there is not from n8n (there are other AWS services that have inmediate integrations such as Lambdas, S3, SNS and so on…).
The main idea is to have n8n as a triggerer (for instance, a form where an user may fill the needed fields) and when that iteration is completed, perform some operations to two platforms somehow: AWS CloudFormation and Thingsboard… so any good ideas are most welcomed.
You will have to build the integration on your own
AWS CloudFormation has a REST API for that and n8n has an HTTP Node which is able to call anything you want from the CloudFormation service.
So the logic may look as follows:
You have a Form trigger in n8n where you can define basic operations. That trigger then execute the Code node which will output the corresponding to the action payload for the HTTP Node, which then calls the CF API
Yeah, that will be ok for now, but as a next step, I will need a far more complicated workflow, since I need to manage information such as tokens for Thingsboard, which devices are already created there, device profiles, and many more things to show to the user within the form in order to facilitate the development.
I am going to perform some tests to the application on my own, I will let you know whether I face issues or not.