SwipeFlow icon

SwipeFlow

Interact with SwipeFlow API

Overview

This node interacts with the SwipeFlow API to create a new item within a specified project. It allows users to specify details such as the project ID, item title, description, content type, content, optional metadata, and an optional expiration date. This node is useful for automating the creation of content items in SwipeFlow projects, such as adding new media, text, or HTML content to a project for review or publication.

Use Case Examples

  1. Creating a new text item in a marketing project with a title, description, and content.
  2. Adding an image item to a project by providing the image URL and metadata.
  3. Creating an audio item with a specified expiration date for limited-time content.

Properties

Name Meaning
Project Name or ID Selects the project in which the new item will be created. Can be chosen from a list or specified by ID.
Title The title of the item to be created.
Description A detailed description of the item. Optional.
Content Type Specifies the type of content the item contains, such as audio, HTML, image, text, or video.
Content The main content of the item. For media types, this should be the URL to the media.
Metadata (JSON) Optional JSON metadata associated with the item.
Expiration Date Optional expiration date for the item.

Output

JSON

  • json
    • title - The title of the created item.
    • description - The description of the created item.
    • content
      * type - The content type of the created item.
      * data - The main content data or URL of the created item.
    • metadata - Optional metadata associated with the created item.
    • id - The unique identifier of the created item.
    • projectId - The project ID where the item was created.

Dependencies

  • SwipeFlow API
  • API authentication token (credential)

Troubleshooting

  • Ensure the project ID is valid and accessible with the provided credentials.
  • Verify that required fields such as title, content type, and content are provided and correctly formatted.
  • Check the format of optional JSON metadata to ensure it is valid JSON.
  • Handle API errors gracefully, such as network issues or permission errors, by reviewing error messages returned by the SwipeFlow API.

Links

Discussion