← Typeform + Wordpress.org integrations

Create User with Wordpress.org API on New Submission from Typeform API

Pipedream makes it easy to connect APIs for Wordpress.org, Typeform and 1000+ other apps remarkably fast.

Trigger workflow on
New Submission from the Typeform API
Next, do this
Create User with the Wordpress.org API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

This integration creates a workflow with a Typeform trigger and Wordpress.org action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Submission trigger
    1. Connect your Typeform account
    2. Select a Form
  3. Configure the Create User action
    1. Connect your Wordpress.org account
    2. Configure Username
    3. Optional- Configure Name
    4. Optional- Configure First Name
    5. Optional- Configure Last Name
    6. Configure Email
    7. Optional- Configure URL
    8. Optional- Configure Description
    9. Optional- Select a Roles
    10. Configure Password
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger


This integration uses pre-built, open source components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.


Description:Emit new submission

Typeform Overview

With the Typeform API, you can easily create beautiful, interactive forms that
allow people to share their information with you in an engaging way. Here are
some examples of what you can build with the Typeform API:

  • A contact form for your website that allows people to easily get in touch
    with you
  • An order form for your product or service that allows people to place orders
    easily and securely
  • A survey form that allows you to collect data and feedback from people
  • A registration form for your event or conference that allows people to sign
    up easily and securely

Trigger Code

import { createHmac } from "crypto";
import { uuid } from "uuidv4";
import common from "../common.mjs";
import constants from "../../constants.mjs";
import utils from "../utils.mjs";

const { typeform } = common.props;
const { parseIsoDate } = utils;

export default {
  key: "typeform-new-submission",
  name: "New Submission",
  version: "0.0.5",
  type: "source",
  description: "Emit new submission",
  props: {
    http: "$.interface.http",
    db: "$.service.db",
    formId: {
      propDefinition: [
  methods: {
    generateSecret() {
      return "" + Math.random();
  hooks: {
    async activate() {
      const secret = this.generateSecret();

      let tag = this._getTag();
      if (!tag) {
        tag = uuid();

      return await this.typeform.createHook({
        endpoint: this.http.endpoint,
        formId: this.formId,
    async deactivate() {
      const tag = this._getTag();

      return await this.typeform.deleteHook({
        formId: this.formId,
  async run(event) {
    const {
    } = event;

    const { [constants.TYPEFORM_SIGNATURE]: typeformSignature } = headers;

    if (typeformSignature) {
      const secret = this._getSecret();

      const hmac =
        createHmac(constants.ALGORITHM, secret)

      const signature = `${constants.ALGORITHM}=${hmac}`;

      if (typeformSignature !== signature) {
        throw new Error("signature mismatch");

    let formResponseString = "";
    const data = Object.assign({}, body.form_response);
    data.form_response_parsed = {};

    for (let i = 0; i < body.form_response.answers.length; i++) {
      const field = body.form_response.definition.fields[i];
      const answer = body.form_response.answers[i];

      let parsedAnswer;
      let value = answer[answer.type];

      if (value.label) {
        parsedAnswer = value.label;

      } else if (value.labels) {
        parsedAnswer = value.labels.join();

      } else if (value.choice) {
        parsedAnswer = value.choice;

      } else if (value.choices) {
        parsedAnswer = value.choices.join();

      } else {
        parsedAnswer = value;

      data.form_response_parsed[field.title] = parsedAnswer;
      formResponseString += `### ${field.title}\n${parsedAnswer}\n`;

    data.form_response_string = formResponseString;
    data.raw_webhook_event = body;

    if (data.landed_at) {
      data.landed_at = parseIsoDate(data.landed_at);

    if (data.submitted_at) {
      data.submitted_at = parseIsoDate(data.submitted_at);

    data.form_title = body.form_response.definition.title;
    delete data.answers;
    delete data.definition;

    this.$emit(data, {
      summary: JSON.stringify(data),
      id: data.token,

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
TypeformtypeformappThis component uses the Typeform app.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.
N/Adb$.service.dbThis component uses $.service.db to maintain state between component invocations.
FormformIdstringSelect a value from the drop down menu.

Trigger Authentication

Typeform uses OAuth authentication. When you connect your Typeform account, Pipedream will open a popup window where you can sign into Typeform and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Typeform API.

Pipedream requests the following authorization scopes when you connect your account:


About Typeform

People-Friendly Forms and Surveys


Description:Creates a user. [See the docs here](https://developer.wordpress.org/rest-api/reference/users/#create-a-user)

Action Code

import wordpress from "../../wordpress_org.app.mjs";

export default {
  key: "wordpress_org-create-user",
  name: "Create User",
  description: "Creates a user. [See the docs here](https://developer.wordpress.org/rest-api/reference/users/#create-a-user)",
  version: "0.0.2",
  type: "action",
  props: {
    username: {
      propDefinition: [
    name: {
      propDefinition: [
    firstName: {
      propDefinition: [
    lastName: {
      propDefinition: [
    email: {
      propDefinition: [
    url: {
      propDefinition: [
    description: {
      propDefinition: [
    roles: {
      propDefinition: [
    password: {
      propDefinition: [
  async run({ $ }) {
    const params = {
      username: this.username,
      name: this.name,
      first_name: this.firstName,
      last_name: this.lastName,
      email: this.email,
      url: this.url,
      description: this.description,
      roles: this.roles && [
      password: this.password,
    try {
      const resp = await this.wordpress.createUser(params);
      $.export("$summary", "Successfully created new user.");
      return resp;
    } catch (e) {
      throw new Error(JSON.stringify(e));

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

Wordpress.orgwordpressappThis component uses the Wordpress.org app.

Login name for the user


Display name for the user

First NamefirstNamestring

First name for the user

Last NamelastNamestring

Last name for the user


The email address for the user


URL of the user


Description of the user

RolesrolesstringSelect a value from the drop down menu:subscribercontributorauthoreditoradministrator

Password for the user

Action Authentication

Wordpress.org uses API keys for authentication. When you connect your Wordpress.org account, Pipedream securely stores the keys so you can easily authenticate to Wordpress.org APIs in both code and no-code steps.

This integration requires the Application Passwords plugin to be installed in your Wordpress instance which allows you to authenticate users without providing their passwords directly.

The url field below is your WordPress site's domain.

For example, if you have a Wordpress.org site hosted at https://example.com, then enter example.com in the url field below.

About Wordpress.org

Self hosted Wordpress

More Ways to Connect Wordpress.org + Typeform

Create Post with Wordpress.org API on New Submission from Typeform API
Typeform + Wordpress.org
Try it
Search Posts with Wordpress.org API on New Submission from Typeform API
Typeform + Wordpress.org
Try it
Update Post with Wordpress.org API on New Submission from Typeform API
Typeform + Wordpress.org
Try it
New Submission from the Typeform API

Emit new submission

Try it
Create a Form with the Typeform API

Creates a form with its corresponing fields. See the docs here

Try it
Create an Image with the Typeform API

Adds an image in your Typeform account. See the docs here

Try it
Delete an Image with the Typeform API

Deletes an image from your Typeform account. See the docs here

Try it
Delete Form with the Typeform API

Select a form to be deleted. See the docs here.

Try it
Duplicate a Form with the Typeform API

Duplicates an existing form in your Typeform account and adds "(copy)" to the end of the title. See the docs here

Try it