Covered in this article
Related pages
Latest Changelog
Version 1.0.1 ()
Configuration component

Configuration Usage Example

In this article we demonstrate the function of the Configuration Component within an integration flow.

Online Shop example

In our example, we will be sending emails to our important customers. We will get access to the clients’ IDs with the help of a Configuration component that will later pass this data on to get access to the clients’ email addresses from the CRM system.

As the first step, we will use the Simple trigger component, since there is no trigger function in the Configuration component:

Configuration usage example 1

In the second step we will use the Configuration component with our credentials - it emits JSON which was put in the credential field. Credential field consist of IDs of the most important clients:

Configuration usage example 1

The third step uses the REST API v2 component which makes an API call to the CRM system that retrieves email addresses by client IDs:

Configuration usage example 3

Here you can see the client email addresses Sample data:

Configuration usage example 4

The final step is the E-Mail component which sends mail to our clients.

Configuration usage example 5

As a result, you can see an example of an email that our client will receive:

Configuration usage example 6

Click here to learn more about the elastic.io iPaaS