iMBrace no code workflow
  • ONBOARDING GUIDE
    • General
    • Invite Organization Members
    • Add Teams and Team Crew
    • Connect Channels
    • Create Credentials
    • Set Up Workflows
    • Set Up Message Template
    • Chat To Your Customers
      • Live Representative Chat Mode
    • Set up Data Boards
      • Data Board Filters & Segmentation
      • Set Up Board Automation
      • Board Management
    • Campaign QR Code
    • Embedded Signup (WhatsApp)
    • How To Find Support
    • Types Of Notification
  • CHANNELS
    • Facebook
    • Web Widget
    • LINE
    • WeChat
    • WhatsApp
      • WhatsApp Business Verified
  • WORKFLOWS
    • Function
    • If
    • Edit Image
    • Email trigger (IMAP)
    • HTTP(s) Request
    • Interval
    • Merge
    • Respond to Webhook
    • Schedule trigger
    • Webhook
  • INTEGRATIONS
    • App Integrations
    • Airtable
    • Asana
    • AWS
    • ClickUp
    • Freshdesk
    • Freshservice
    • Freshworks CRM
    • Google
    • HubSpot
    • Mailchimp
    • MessageBird
    • Microsoft
    • Mindee
      • Mindee API
    • monday.com
    • Odoo
    • Salesforce
    • ServiceNow
    • Shopify
    • Slack
    • Stripe
    • Telegram
    • Trello
    • Twilio
    • Vonage
    • Webflow
    • Xero
    • Zendesk
    • Zoho CRM
    • Zoom
  • API
    • Facebook Ad API
  • JOURNEYS
    • AI-Assistant Management
    • Email Campaign
    • Facebook Leads Management
    • Facebook Social Media Management
    • Form Management
    • WhatsApp Outbound
    • Business Contact Collector
  • 简体中文
    • 一般导览
    • 邀请机构成员
    • 添加团队及团队成员
    • 连接渠道
    • 创建凭证
    • 设置工作流程
    • 与您的客户对话
    • 設定数据管理
  • 繁體中文
    • 一般導覽
    • 邀請機構成員
    • 新增團隊及團隊成員
    • 連結渠道
    • 建立憑證
    • 設定工作流程
    • 與您的客戶對話
    • 設定資料管理
Powered by GitBook
On this page
  • JavaScript
  • Supported JavaScript features
  • Built-in methods and variables
  1. WORKFLOWS

Function

The Function node allows you to write custom JavaScript and run it as a step in your workflow.

JavaScript

The Code node supports Node.js.

Supported JavaScript features

The Code node supports:

  • Promises. Instead of returning the items directly, you can return a promise which resolves accordingly.

  • Writing to your browser console using console.log. This is useful for debugging and troubleshooting your workflows.

Built-in methods and variables

iMBrace's workflow provides built-in methods and variables for working with data and accessing n8n data.

The syntax to use the built-in methods and variables is $variableName or $methodName(). Type $ in the Code node or expressions editor to see a list of suggested methods and variables.

PreviousWORKFLOWSNextIf

Last updated 1 year ago