Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Dev Space

Customize and extend the power of Alteryx with SDKs, APIs, custom tools, and more.

run workflow from the gallery using API with Python

gandalf1900
5 - Atom

Hello

 

I am trying to run a workflow located in the gallery by using the API (I am using Python)

I am able to launch it from the API_docs but impossible to launch it with my script Python, I am suspecting the Oauth_Signature.

 

Do y know how to generate the Oauth_signature, I have tried many combination but impossible to find a correct one.

 

 

 

Thank you for your help

 

2 REPLIES 2
joshuaburkhow
ACE Emeritus
ACE Emeritus

This is not in Python but should be your guide to get it setup. I use this process

 

https://community.alteryx.com/t5/Engine-Works/Using-the-Alteryx-API-from-Alteryx/ba-p/318565

 

Hope this helps!

 

Joshua Burkhow - Alteryx Ace | Global Alteryx Architect @PwC | Blogger @ AlterTricks
kamanivk
8 - Asteroid

@joshuaburkhow 

I am in my Server and navigated to http://localhost/gallery/api-docs/.

I went to Admin V2 tab. Input Key and Secret for API access form http://localhost/gallery/#!account/settings/keys

I see the message in Response Messages(screenshot attached). Cant proceed further. 

 

I am trying to use API to download all workflows in production which is older version, and then import to a development server which is latest version and test the workflows.

 

What steps should I take to get API documentation site to work for me. I think this would be the first step, then I can use https://community.alteryx.com/t5/Engine-Works/Using-the-Alteryx-API-from-Alteryx/bc-p/500830#M2084 to download the workflows.

 

Is there a better way to export all workflows from a Server?

 

Thank you.