1Shot API icon

1Shot API

Interact with EVM blockchains via 1Shot API

Prompt → Search Prompts

AI-generated

Overview

This node interacts with the 1Shot API to search for prompts related to tools that can be used in dynamic workflows. It allows users to enter a query string to find relevant prompts and optionally filter the search by a specific chain name or ID. This is useful for discovering pre-built prompts that can enhance automation and integration tasks within the n8n workflow environment.

Use Case Examples

  1. Searching for prompts related to a specific blockchain tool by entering a query string.
  2. Filtering prompt search results by selecting a specific blockchain chain from a dropdown or by specifying its ID.

Properties

Name Meaning
Query The search query string used to find relevant 1Shot Prompts for tools in dynamic workflows.
Chain Name or ID Optional filter to narrow down the prompt search results by selecting a blockchain chain name or specifying its ID.

Output

JSON

  • json - Each output item contains a JSON object representing a prompt that matches the search criteria.

Dependencies

  • Requires an OAuth2 API credential for authenticating with the 1Shot API.

Troubleshooting

  • Ensure the 'Query' parameter is provided and is a valid string; otherwise, the node will throw an error.
  • If the API returns no results, verify the query string and optional chain filter for correctness.
  • Authentication errors may occur if the OAuth2 credentials are not set up or expired; re-authenticate as needed.

Discussion