← Papyrs

Update Heading with Papyrs API

Pipedream makes it easy to connect APIs for Papyrs and 1200+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Update Heading with the Papyrs API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

Create a workflow to Update Heading with the Papyrs API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Update Heading action
    1. Connect your Papyrs account
    2. Configure Subsite
    3. Select a Page
    4. Select a Widget
    5. Configure Value
    6. Optional- Select a Format
    7. Optional- Select a Style Class
    8. Optional- Select a Heading
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Update Heading with Papyrs API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Papyrs
 
Try it
Update Heading with Papyrs API on New Submission from Typeform API
Typeform + Papyrs
 
Try it
Update Heading with Papyrs API on Custom Events from Zoom API
Zoom + Papyrs
 
Try it
Update Heading with Papyrs API on New Submission (Instant) from Jotform API
Jotform + Papyrs
 
Try it
Update Heading with Papyrs API on New Custom Webhook Events from Stripe API
Stripe + Papyrs
 
Try it

Details

This is a pre-built, source-available component from Pipedream's GitHub repo. The component is 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.

Update Heading on Papyrs
Description:Update Heading. [See the docs here](https://about.papyrs.com/@docs/API#Update-Text-box/Heading)
Version:0.0.1
Key:papyrs-update-heading

Code

import app from "../../papyrs.app.mjs";
import options from "../../common/enums.mjs";

export default {
  name: "Update Heading",
  description: "Update Heading. [See the docs here](https://about.papyrs.com/@docs/API#Update-Text-box/Heading)",
  key: "papyrs-update-heading",
  version: "0.0.1",
  type: "action",
  props: {
    app,
    subsite: {
      propDefinition: [
        app,
        "subsite",
      ],
      optional: false,
    },
    page: {
      propDefinition: [
        app,
        "page",
      ],
    },
    widget: {
      propDefinition: [
        app,
        "widget",
        ({
          page,
          subsite,
        }) => ({
          pageId: page,
          subsite,
          className: "Heading",
        }),
      ],
    },
    value: {
      propDefinition: [
        app,
        "value",
      ],
    },
    format: {
      propDefinition: [
        app,
        "format",
      ],
    },
    styleClass: {
      type: "string",
      label: "Style Class",
      description: "The style class of the heading.",
      options: options.CREATE_HEADING_STYLE_CLASS,
      optional: true,
    },
    heading: {
      type: "string",
      label: "Heading",
      description: "The size of the heading. `h0` is largest, `h4` is smallest.",
      options: options.CREATE_HEADING_HEADING,
      optional: true,
    },
  },
  async run({ $ }) {
    const data = {
      widget: {
        val: this.value,
        format: this.format,
        styleclass: this.styleClass,
        heading: this.heading,
      },
    };
    const res = await this.app.updateHeading(
      data,
      this.widget,
      this.page,
      this.subsite,
      $,
    );
    $.export("$summary", "Heading successfully updated");
    return res;
  },
};

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.
LabelPropTypeDescription
PapyrsappappThis component uses the Papyrs app.
Subsitesubsitestring

The subsite to use for this action. Use home for the default subsite.

PagepagestringSelect a value from the drop down menu.
WidgetwidgetstringSelect a value from the drop down menu.
Valuevaluestring

The value of the widget.

FormatformatstringSelect a value from the drop down menu:{ "value": "html", "label": "html — The value is HTML and is used unescaped (but sanitized to remove certain tags)." }{ "value": "text", "label": "text — The value is Text, any HTML tags are escaped, and line breaks are converted." }
Style ClassstyleClassstringSelect a value from the drop down menu:lineemphasisbarsquoteboxquote
HeadingheadingstringSelect a value from the drop down menu:h0h1h2h3h4

Authentication

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

To get your API Token, go to Site Settings > Integrations & SSO > API to request API access to your account.

  • Once API support is enabled, Site Owners can go to Site Settings > Integrations & SSO and click Generate Token to create a new unique API token for users.
  • You can get your Site Name by looking at the URL on your Papyrs dashboard -- it has the structure, https://{site_name}.papyrs.com/@home/Getting-Started.

About Papyrs

Dream up your own intranet site or internal wiki with simple drag & drop. Easily share and collect information, files, discussions, online forms and much more -- work better together with colleagues and clients.

More Ways to Use Papyrs

Actions

Create Heading with the Papyrs API

Create Heading. See the docs here

 
Try it
Create Paragraph with the Papyrs API

Create a new Paragraph in a page. See the docs here

 
Try it
Update Paragraph with the Papyrs API

Update Paragraph. See the docs here

 
Try it

Explore Other Apps

1
-
12
of
1200+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Beta
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.