tr Skip to content
Black Friday Lifetime FlowMattic from $399 One payment, unlimited workflows. Ends in --Days --Hrs --Min --Sec See the deal

PHP Functions integration

Connect PHP Functions with 918+ other apps in FlowMattic. Pick a trigger, add PHP Functions steps, map the fields from earlier steps and run the workflow on your own server with no per-task fees.

1 action Integration version 1.0 Category: Core Unlimited workflows and runs

Triggers and actions for PHP Functions

A trigger is the PHP Functions event that starts a workflow. An action is what FlowMattic does in PHP Functions from a step.

EventWhat it doesType
Call PHP FunctionCall any PHP function and pass data from your workflowAction

Three steps to a running PHP Functions workflow

The builder keeps the order you think in: connect the app, choose what starts the workflow, add what should happen.

  1. Connect

    Authorise PHP Functions once

    Add a PHP Functions connection under Connects and reuse it in every workflow. Credentials stay in your WordPress database.

  2. Trigger

    Pick what starts it

    Start from a WordPress event, a form, a webhook, a schedule or any of the 918+ integrations, then capture a sample so later steps can map real fields.

  3. Act

    Add PHP Functions steps and logic

    Chain PHP Functions actions with Router, Filter, Iterator and Delay, test each step against captured data, then switch the workflow on.

PHP Functions workflows people build

Each example pairs PHP Functions with an app it is often used with. Build any of them on the canvas, or start from the workflow library.

When form submission is received in Contact Form 7, call PHP Date() function to get the current date and time using PHP Functions Module, and add the data to Google Spreadsheets

Contact Form 7 to PHP Functions, then Google Sheets

When data received in Webhook, call WordPress function get_user_by and pass parameters "by => email" and "email => email_id" to get user details, then check if check if the user exists, and create a new contact in FluentCRM

Webhooks to PHP Functions, then Filters, then FluentCRM

When form submission received in Gravity Forms with a field value as base64 encoded string, call PHP function base64_decode and pass the field value to decode it, and update user meta in WordPress with the decoded value

Gravity Forms to PHP Functions, then WordPress

When a new order is created in WooCommerce, loop through the line items using Iterator, call WooCommerce PHP function wc_get_product to get the product data for the product ID, and add details to Google Spreadsheet

WooCommerce to Iterator, then PHP Functions, then Google Sheets

About PHP Functions

FlowMattic integration version 1.0

Looking to call your custom PHP function and pass parameters to your function from the data received in your workflow? This is for you. Call any publicly accessible function from your workflow.

PHP Functions integration changelog

What changed in each version of the integration.

Start automating PHP Functions today

Try the PHP Functions integration on a live demo site, or install FlowMattic on your own and keep every run on your server.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

Flowmattic is a noteworthy option for businesses looking for a self-hosted alternative to Zapier. With its user-friendly interface and a strong set of features, it is a top pick for those in need of a reliable WordPress automation solution.

Creative-Minded Multimedia

The main advantage of the plugin that it can turn your WordPress installation into a powerhouse, just imagine that you can replace all other integration with only this one.