Functions API
What is Functions API?
The Functions API offers a comprehensive library of API endpoints that enable interaction with a wide range of services including Podio, InfoLobby, Google, Podio Workflow Automation, MySQL, S3 Compatible Storages, FTP, ShareFile, Notion, OAuth Service, Web Scraping, and ProcFu.
For example, you could use the Functions API to automate data entry in Podio whenever a new file is uploaded to Google Drive or trigger a workflow in Podio Workflow Automation flow based on data retrieved through web scraping.
The library now contains a collection of more than 292 Functions. You can access the full collection from here.
Various Ways to Call ProcFu Functions
- The ProcFu website offers a user-friendly interface that allows you to easily execute functions for quick tasks or experimentation.
- If you're using the app builder, you can use these functions natively in ProcScript code events.
- The functions are also available for use natively within the ProcScript editor.
- Within Podio Workflow Automation, these functions can be utilized via a ProcFu bricks.
- Lastly, you can use ProcFu functions with external services, like within a PHP script. But for safety, these scripts are limited to being accessed from ProcFu servers. To use them from different servers, you need to add those server IPs to a whitelist on the Account page of your ProcFu account.
//Sample PHP Code to Use ProcFu Functions API Externally $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://procfu.com/exe/hello_world.pdf"); curl_setopt($ch, CURLOPT_HTTPHEADER, ["Authorization: Basic MTE0X0mxcmVmNtaXBzdW0="]); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["name" => "foo bar"])); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $result = curl_exec($ch); curl_close($ch); print_r($result);