This example pipeline demonstrates how to create a thread, add the message to the specified thread, and run it to get results.
-
Configure the Create Thread Snap to create a thread. The Snap generates an
id
for the thread in the output.
Create Thread Configuration |
Create Thread Output |
|
|
-
Configure the Mapper Snap to pass the
thread_id
generated by the Create Thread Snap.
-
Configure the Add Message Snap to add the message to the specified thread.
On validation, the Snap displays the added message.
Add Message Snap Configuration |
Add Message Snap Output |
|
|
-
Configure the Mapper Snap to pass the
thread_id
to the downstream Run Thread Snap to run the added thread.
-
Configure the Run Thread Snap to run the thread to get the results.
On validation, the Snap displays the result for the prompt you provided in the Create Thread Snap.
Run Thread Snap Configuration |
Run Thread Snap Output |
|
|
To successfully reuse pipelines:
- Download and import the pipeline into SnapLogic Platform.
- Configure Snap accounts, as applicable.
- Provide pipeline parameters, as applicable.