Skip to main content

Flow API endpoints

Comments

5 comments

  • Pablo Gonzalez
    Celigo University Level 4: Legendary
    Engaged

    Hello,

    What are the parameters (both required and optional) for `/flows/<_id>/clone` and response?

    Thank you!

    0
  • Tyler Lamparter Senior Solutions Consultant
    Top Contributor
    Answer Pro
    Celigo University Level 4: Legendary

    Pablo Gonzalez here you go. We'll get docs updated as well.

    {
      "connectionMap": {
          "<current connection id>": "<new connection id>",
          "<current connection id>": "<new connection id>"
      },
      "sandbox": false,
      "name": "Name Flow Here",
      "_integrationId": "<integration id where the cloned flow should go>",
      "_flowGroupingId": "<flow group id where the cloned flow should go - optional>"
    }
    1
  • Pablo Gonzalez
    Celigo University Level 4: Legendary
    Engaged

    Hi Tyler Lamparter,

    Awesome, thank you for the info. I saw the connectionMap and was wondering why it was being written twice and decided to try this another time. I looked at it again today and it makes sense! It's literally mapping the amount of connections from the source flow to the destination flow. I was able to successfully clone my flow via API, thank you again for your quick response! 

    - Pablo G.

    0
  • Emil Daniel Ordoñez Avila

    Hi Tyler Lamparter. Am I able to send non date parameters using the Flow Run Endpoint?

    Example: 

    {
       "export":{
          "sku":"XX-XXXX-SAMPLE-SKU",
          "startDate":"2023-01-05T00:00:00.000",
          "endDate":"2023-01-06T00:00:00.000"
        }
    }

    I Know the endDate and startDate are both mapping to currentExportDateTime and lastExportDateTime respectively, but I'm not able to use additional parameters as the sku on the example.

    This behavior would be helpful for APIs that are not based on Dates for filtering.

    Using the Run Export API, I'm able to send that SKU parameter, but not on the Flow API.
    0
  • Tyler Lamparter Senior Solutions Consultant
    Top Contributor
    Answer Pro
    Celigo University Level 4: Legendary

    Emil Daniel Ordoñez Avila unfortunately not at this time. It is currently slated as an enhancement for summer/fall of this year.

    0

Please sign in to leave a comment.