
Security News
Meet the Socket Team at RSAC and BSidesSF 2025
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.
@builderbot-plugins/shopify
Advanced tools
The shopify adapter using Langchain for bot-whatsapp bot. You can apply this provider into your createProvider function.
import 'dotenv/config'
import { createBot, MemoryDB, createProvider } from '@bot-whatsapp/bot'
import { createShopifyFlow } from '@builderbot-plugins/shopify'
import { TelegramProvider } from '@builderbot-plugins/telegram'
/*
there three ways for using this plugin below you find the examples for its using
*/
/*
#1 default
you need set this enviroments into your .env file
OPENAI_API_KEY=
SHOPIFY_API_KEY=
SHOPIFY_DOMAIN=
*/
const shopify_flow = createShopifyFlow()
/** -------------------------------------------------------------- */
/*
#2 setting configurations
*/
const configurations = {
modelName: 'gpt-3.5-turbo-16k',
temperature: 0,
openApiKey: 'YOUR_OPENAI_APIKEY',
shopifyApiKey: 'YOUR_SHOPIFY_APIKEY',
shopifyDomain: 'YOUR_SHOPIFY_DOMAIN',
}
const shopify_flow = createShopifyFlow(configurations)
/** -------------------------------------------------------------- */
/*
#3 setting configurations and extra flows
*/
const configurations = {
modelName: 'gpt-3.5-turbo-16k',
temperature: 0,
openApiKey: 'YOUR_OPENAI_APIKEY',
shopifyApiKey: 'YOUR_SHOPIFY_APIKEY',
shopifyDomain: 'YOUR_SHOPIFY_DOMAIN'
}
const extra {
flows: [
{
name: YOUR_AGENT_NAME,
description: YOUR_DESCRIPTION_AGENT,
flow: YOUR_FLOW,
},
{
name: YOUR_AGENT_NAME,
description: YOUR_DESCRIPTION_AGENT,
flow: YOUR_FLOW,
}
{
name: YOUR_AGENT_NAME,
description: YOUR_DESCRIPTION_AGENT,
flow: YOUR_FLOW,
}
]
}
const shopify_flow = createShopifyFlow(configurations, extra)
/** -------------------------------------------------------------- */
const main = async () => {
const provider = createProvider(TelegramProvider, {})
await createBot({
database: new MemoryDB(),
provider,
flow: shopify_flow,
})
}
main()
Elimeleth Capuano https://github.com/elimeleth
FAQs
An shopify utility for bot-whatsapp
The npm package @builderbot-plugins/shopify receives a total of 0 weekly downloads. As such, @builderbot-plugins/shopify popularity was classified as not popular.
We found that @builderbot-plugins/shopify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.
Security News
Biome's v2.0 beta introduces custom plugins, domain-specific linting, and type-aware rules while laying groundwork for HTML support and embedded language features in 2025.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.