Refine pipelines
Use SnapGPT to modify an existing pipeline, such as renaming the Snaps or adding Snaps for specific conditions, such as a Router Snap.
SnapGPT can refine an existing pipeline, such as rename the Snaps or add Snaps for specific conditions, such as a Router Snap in a pipeline.
Example prompt on renaming Snaps
The following example shows how SnapGPT renames the Snaps of a pipeline
- In Designer open the pipeline to refine.
- If the featured skills cards are not visible in SnapGPT, click the three dots in the toolbar to open the options menu and select SnapGPT home or New chat.
- Click Pipeline refinement.
- The default example prompt shows the following Refine this pipeline to assign descriptive and meaningful labels to Snaps.
- Hit Return or click
. SnapGPT displays an image of the pipeline with the modified Snap names.
- From the preview window, choose whether to replace the current pipeline or import on a new tab. Click Cancel to discard the suggested changes and retain the original Snap names.
Example prompt on refining a pipeline to add conditions
The following example shows how SnapGPT refines a pipeline to add a condition. The following pipeline reads JSON data from a file, filters it to extract only paid customers based on license criteria, and writes the filtered results to a new file. Using SnapGPT, the pipeline is refined to write paid and trial customers to separate files based on the license criteria.

SnapGPT refines the pipeline to add a Copy Snap after the JSON Parser to create two parallel processing paths for different customer types
