Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Emit new event when a new WhatsApp conversation is started on the user’s 2chat connected number.
Emit new event when a new message is either sent or received on 2Chat.
Emit new event when a WhatsApp order is received on user's 2Chat connected number.
Emit new event each time a comment is added to a spreadsheet.
Emit new event each time a row or rows are added to the bottom of a spreadsheet.
Add a single row of data to Google Sheets. See the documentation
Checks if a given phone number has a WhatsApp account. See the documentation
Add multiple rows of data to a Google Sheet. See the documentation
Get all values or values from a range of cells using A1 notation. See the documentation
The Google Sheets API allows for the creation, reading, updating, and deletion of data within Google Sheets, enabling a robust platform for spreadsheet management and data manipulation. Through Pipedream, you can craft serverless workflows that respond to various triggers, such as webhook events, emails, or scheduled times, to interact with Google Sheets. This synergy can automate reporting, synchronize data across applications, manage inventory, track leads in a CRM, or even conduct survey analysis by updating and retrieving sheet data on the fly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_sheets: {
type: "app",
app: "google_sheets",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_sheets.$auth.oauth_access_token}`,
},
})
},
})
The 2Chat API allows developers to build and manage chatbots that can engage users in personalized conversations across various platforms like WhatsApp, Telegram, and more. This API facilitates the creation, training, and integration of chatbots with existing applications, enabling automated responses based on user inputs and behaviors. Utilizing Pipedream's capabilities, developers can orchestrate complex workflows that react to events from 2Chat, process data, and trigger actions in other apps, streamlining communication processes and enhancing user interaction.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_2chat: {
type: "app",
app: "_2chat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.p.2chat.io/open/contacts/search`,
headers: {
"Content-Type": `application/json`,
"X-User-API-Key": `${this._2chat.$auth.api_key}`,
},
params: {
query: `John`,
results_per_page: `30`,
page_number: `0`,
},
})
},
})