Back to Help Index

Remote POST/GET

Use the Remote POST/GET action to send data to a remote script via GET or POST and capture the result. This allows you to use accessible external scripts to further extend your use of Podio and Workflow Automations.


To use the Remote POST/GET feature in most flows, simply select the Remote POST/GET from the actions panel.

Depending how your script uses and returns data, you'll want to provide any required parameters in either the GET Params field or the POST Params field, separated by ampersands (&).

You can use the response by selecting the Prep Field of your Remote POST / GET in the tokens drop down menu.

Custom headers and Follow Redirct options can be set by clicking on (opt). These can be used if a custom header is required to be passed to the URL or the response you need occurs after a redirect from the URL.

To have more than one header, use newslines. For example,

Header:1

Header:2

Limitations

This feature works best if the returning data is a simple string. If the data is returned back in some other format such as XML or JSON, you'll need to use preg_match_gf() to collect the data you need.

If you're planning of using an 3rd party API that doesn't return your data in a string, you could use the Remote POST / GET on a custom script that makes calls to this 3rd party API, and then modify your script to return the desired data.

A custom script refers to writing your own code to work with the Podio API. This script would be hosted on your own web server and the Remote POST / GET would use the URL of this custom script. Unfortunately our Help Desk Support cannot troubleshoot these custom scripts for you.

Here's a list of items that Remote Post cannot directly achieve without a custom script:

  • retrieve a file or document
  • retrieve data from a long running script (Workflow Automations will time out after 30 seconds)
  • send xml
  • send data to a URL that requires authentication

Create/Update Actions

You can also use WGET in either a Create Item or Update Item action, in order to retrieve an image file from a URL and place into an Image Field on the Podio Item.


Back to Help Index