with Mews and Docparser?
Emit new event every time a document is processed and parsed data is available. See the documentation
Emit new order items as they are created (polling). See the documentation
Fetches a document from a provided URL and imports it to Docparser for parsing. See the documentation
Add a customer as a companion to a reservation. See the documentation
Uploads a document to docparser that initiates parsing immediately after reception. See the documentation
The Mews API is a gateway for developers to interact with the Mews hospitality platform, allowing for innovative connections and automations between hotel management systems and other software tools. By using Pipedream, you can create custom workflows that automate repetitive tasks, integrate with numerous third-party services, and manipulate data to suit specific needs within the hospitality industry. The combination of Mews' API and Pipedream's serverless execution model paves the way for enhanced guest experiences, optimized operations, and real-time data handling.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    mews: {
      type: "app",
      app: "mews",
    }
  },
  async run({steps, $}) {
    const data = {
      "ClientToken": `${this.mews.$auth.ClientToken}`,
      "AccessToken": `${this.mews.$auth.AccessToken}`,
      "Client": `${this.mews.$auth.Client}`,
    }
    return await axios($, {
      method: "post",
      url: `https://${this.mews.$auth.platform_url}/api/connector/v1/configuration/get`,
      data,
    })
  },
})
Docparser is a tool for extracting data from documents, such as PDFs, Word, and images. With the Docparser API, you can automate the process of capturing data without manual entry, transforming documents into actionable information. It shines in scenarios where structured information needs to be pulled from files that typically require manual data entry, such as invoices, forms, and reports.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    docparser: {
      type: "app",
      app: "docparser",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.docparser.com/v1/ping`,
      auth: {
        username: `${this.docparser.$auth.api_key}`,
        password: ``,
      },
    })
  },
})