Overview
Typically, the third-party application will send a payload to Etlworks, which will trigger an event-driven Flow.
Read about user-defined APIs.
Process
To test a Flow without leaving Etlworks, you will need to create another Flow as a sender.
Let's assume that you have an example payload somewhere in a file-based or cloud storage. Let's also assume that you have already created and scheduled an event-driven Flow and created an API user.
Step 1. Create a source Connection and a Format for the payload.
Step 2. Create a destination Connection that sends a payload to the Listener you previously created for the event-driven Flow.
For example, let's assume that:
- You are running Etlworks on
https://app.etlworks.com
. - HTTP Listener is used in the event-driven Flow.
- The URL Pattern for the Listener is configured as
/hl7/patient
.
If all of the above is true, create a destination Etlworks API Connection for the sender Flow with the following parameters:
Endpoint path
:/rest/v1/httplistener/hl7/patient
User
: user id for the API userPassword
: password for the API userMethod
:POST
Step 3. Create a transformation where the source (FROM
) is the source Connection and Format you previously created in step 1, the destination Connection is the Connection you previously created in step 2, and the destination Format is the previous source Format.
Comments
0 comments
Please sign in to leave a comment.