Configure Snaps using Snap copilot

Configure Snaps with Snap copilot.

Use Snap copilot Beta to configure any Snap using a natural language prompt. It works directly in the Designer when a Snap is open and selected, providing suggestions, applying configuration settings, and offering explanations.

Key features

  • Understands the requirement for the configuration goals based on the user prompt.
  • Applies targeted changes to the selected Snap’s settings.
  • Provides reasoning and configuration details after applying changes.
  • Retries when the first attempt doesn't meet the goal.
  • Suggests fixes for errors that require manual intervention.
  • Generates Mapper expressions, SQL, or Salesforce Object Query Language (SOQL) without requiring you to open those skills from the SnapGPT panel.
  • Lets you revert the configuration of the Snap to its original state.
Important: The Snap copilot is in Beta state and might not be 100% accurate. We are continuously working on it to improve the overall accuracy.

Example prompt

The following example shows how Snap copilot can configure a File Reader Snap to read from the foo.txt file.

  1. In the Designer, from the Asset Palette click the Snaps tab.
  2. In the Search box, start entering File and drag the File Reader Snap from the results list to the canvas.
  3. Click the Snap to open it. It displays the Settings tab.
  4. Click Snap copilot from the SnapGPT panel. The default example prompt shows the following: Refine Snap to fetch bitcoin price.
    Snap copilot

  5. For this example, change the prompt to: Make this Snap to read from foo.txt file.
  6. The copilot asks to confirm the pipeline validation. Click Confirm.
    Confirm Copilot

  7. The copilot sets the file path to foo.txt and also highlights it. It also validates other configuration details and provides necessary suggestions.
    Copilot Configuration Result

  8. Click Yes, looks good to confirm the configuration, or click No, please revert to revert the configuration to the previous settings.