시작
Kore.ai 대화형 플랫폼
챗봇 개요
자연어 처리(NLP)
봇 개념 및 용어들
빠른 시작 가이드
봇 빌더 접근 방법
사용 고지 사항 (영어)
Kore.ai 봇 빌더로 작업하기
봇 구축 시작하기
릴리스 정보
현재 버전 (영어)
이전 버전 (영어)

개념
디자인
스토리보드
대화 작업
개요
Using the Dialog Builder Tool
노드 유형
사용자 의도 노드
대화 노드
엔티티 노드
양식 노드
확인 노드
서비스 노드
봇 조치 노드
Service Node
WebHook 노드
스크립트 노드
노드 그룹화하기
Agent Transfer Node
사용자 프롬프트
음성 통화 속성
대화 관리
노드 및 전환
구성 요소 전환
컨텍스트 개체
이벤트 기반 봇 조치
지식 그래프
소개
지식 추출
지식 그래프 생성
봇에 지식 그래프 추가
그래프 생성
지식 그래프 작성
FAQ 추가
작업 실행
기존 소스에서 FAQ 구축
특성, 동의어 및 불용어
변수 네임스페이스 관리
수정
용어 편집 및 삭제
용어 편집 및 삭제
질문과 응답 편집
Knowledge Graph Training
지식 그래프 분석
봇 온톨로지 가져오기 및 내보내기
지식 그래프 가져오기
지식 그래프 내보내기
지식 그래프 생성
CSV 파일에서
JSON 파일
지식 그래프 생성
경고 작업
스몰 토크
Digital Skills
디지털 양식
Views
Digital Views
Panels
Widgets
기차
봇 성능 향상 – NLP 최적화
기계 학습
소개
모델 검증
기초 의미
지식 그래프 학습
특성
순위 및 해결
고급 NLP 설정
NLP 설정 및 지침
봇 인텔리전스
소개
컨텍스트 관리
컨텍스트 관리
대화 관리
다중 – 의도 탐지
엔티티 수정
기본 대화
정서 관리
어조 분석
Test & Debug
봇과 대화
발화 테스트
배치 테스트하기
대화 테스트
배포
채널 활성화
봇 게시
분석
봇 분석하기
Conversations Dashboard
Performance Dashboard
사용자 정의 대시보드
소개
맞춤형 메타 태그
사용자 정의 대시보드 생성 방법
Conversation Flows
NLP 지표
Containment Metrics
사용량 지표
스마트 봇
소개
범용 봇
소개
범용 봇 정의
범용 봇 생성
범용 봇 학습
범용 봇 커스터마이징
범용 봇용 추가 언어 활성화
스토어
Manage Assistant
플랜 및 사용량
Overview
Usage Plans
Support Plans
플랜 관리
봇 인증
다국어 봇
개인 식별 정보 삭제하기
봇 변수 사용
IVR 통합
일반 설정
봇 관리

방법
간단한 봇 생성하기
Design Conversation Skills
뱅킹 봇 생성
뱅킹 봇 – 자금 이체
뱅킹 봇 – 잔액 업데이트
Knowledge Graph (KG) 구축
스마트 경고를 예약하는 방법
Design Digital Skills
디지털 양식 설정 방법
디지털 보기 설정 방법
데이터 테이블에 데이터를 추가하는 방법
데이터 테이블 내 데이터 업데이트 방법
UI 양식에서 데이터 테이블에 데이터를 추가하는 방법
Train the Assistant
특성 사용 방법
의도와 엔티티에 대한 패턴 사용 방법
컨텍스트 전환 관리 방법
Deploy the Assistant
상담사 전환을 설정하는 방법
봇 기능 사용 방법
콘텐츠 변수 사용 방법
전역 변수 사용 방법
Kore.ai 웹 SDK 튜토리얼
Kore.ai 위젯 SDK 튜토리얼
Analyze the Assistant
사용자 정의 대시보드 생성 방법
사용자 지정 태그를 사용하여 봇 메트릭을 필터링하는 방법

API 및 SDK
API 참조
Kore.ai API 사용
API 목록
API 컬렉션
koreUtil Libraries
SDK 참조
상담사 전환을 설정하는 방법
봇 기능 사용 방법
콘텐츠 변수 사용 방법
전역 변수 사용 방법
소개
Kore.ai 웹 SDK 튜토리얼
Kore.ai 위젯 SDK 튜토리얼

관리
소개
봇 관리자 콘솔
대시보드
사용자 관리
사용자 관리
그룹 관리
역할 관리
봇 관리 모듈
등록
사용자 초대
사용자 등록을 위한 대량 초대 보내기
사용자 및 사용자 데이터 가져오기
Active Directory에서 사용자 동기화
보안 및 준수
싱글 사인 온 사용
보안 설정
Kore.ai 커넥터
봇 관리자용 분석
Billing (지원하지 않음)
  1. Integrations
  2. Using the Stripe Action Templates

Using the Stripe Action Templates

You can use the Prebuilt Action Templates from your Stripe integration to auto-create dialog tasks and test them using the Talk to Bot option.

Steps to create a dialog task using the Stripe action templates:

  1. Go to Build > Conversation Skills > Dialog Tasks.
  2. Click Create a Dialog Task.
  3. On the Dialog Task pop-up, under the Integration, select the Stripe option to view the action templates.
  4. If you have not configured any integration for your virtual assistant, you will see the Explore Integrations option. Once you click this option, you will be redirected to the Actions page to configure an integration for your VA. For more information, see Actions Overview.

Stripe Actions

The following Stripe actions are supported in this release:

Supported Tasks Description Method
Create a Customer Creates a customer in the Stripe system. POST
List all customers Retrieves all customers from the Stripe system. GET
Create Invoice Create a new invoice in the system. POST
List all invoices Retrieves all invoices in the Stripe system. GET
Create a payment intent Create a payment intent in the Stripe system. POST

Create a Customer

Steps to create a customer in the Stripe integration:

  1. Refer to the Installing the Stripe templates section to install this template.
  2. The Create a Customer dialog task is added with the following components:
    • createCustomer – A user intent to create a customer.
    • name, email, and phone – Entity nodes for gathering the required customer details.
    • createCustomerService – A bot action service to create a customer in an external integration. Click the Plus icon to expand to view the createCustomerService bot action component properties.
    • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

      Sample Request:

      Key Value
      name
      Alan Walker
      phone
      774499847x
      email
      abc@xyz.com
      }


      To add one or more responses, scroll down and click the +Add Response button:
      Sample Response:

      {
      "id": "cus_N42Fu5I7t3dDyu",
      "object": "customer",
      "address": null,
      "balance": 0,
      "created": 1672212940,
      "currency": null,
      "default_source": null,
      "delinquent": false,
      "description": null,
      "discount": null,
      "email": "abc@xyz.com",
      "invoice_prefix": "44E40F14",
      "invoice_settings": {
      "custom_fields": null,
      "default_payment_method": null,
      "footer": null,
      "rendering_options": null
      },
      "livemode": false,
      "metadata": {},
      "name": "Alan Walker",
      "next_invoice_sequence": 1,
      "phone": "7000028162",
      "preferred_locales": [],
      "shipping": null,
      "tax_exempt": "none",
      "test_clock": null
      }

    • createCustomerMessage – A message node with the script to display responses for various scenarios.
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to create a customer as shown below:

List All Customers

Steps to view all customers in the Stripe integration:

  1. Refer to the Installing the Stripe templates section to install this template.
  2. The List All Customers dialog task is added with the following components:
    • listAllCustomers – A user intent to view all customers.
    • listAllCustomersService – A bot action service to fetch all customer from an external integration. Click the Plus icon to expand to view the listAllCustomersService bot action component properties.
    • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

      To add one or more responses, scroll down and click the +Add Response button:
      Sample Response:

      {
      "object": "list",
      "data": [
      {
      "id": "cus_N42Fu5I7t3dDyu",
      "object": "customer",
      "address": null,
      "balance": 0,
      "created": 1672212940,
      "currency": null,
      "default_source": null,
      "delinquent": false,
      "description": null,
      "discount": null,
      "email": "abc@xyz.com",
      "invoice_prefix": "44E40F14",
      "invoice_settings": {
      "custom_fields": null,
      "default_payment_method": null,
      "footer": null,
      "rendering_options": null
      },
      "livemode": false,
      "metadata": {},
      "name": "John Doe",
      "next_invoice_sequence": 1,
      "phone": "7000028162",
      "preferred_locales": [],
      "shipping": null,
      "tax_exempt": "none",
      "test_clock": null
      },
      {
      "id": "cus_N42AIrFfWwxMgE",
      "object": "customer",
      "address": null,
      "balance": 0,
      "created": 1672212630,
      "currency": null,
      "default_source": null,
      "delinquent": false,
      "description": null,
      "discount": null,
      "email": null,
      "invoice_prefix": "8C233FEC",
      "invoice_settings": {
      "custom_fields": null,
      "default_payment_method": null,
      "footer": null,
      "rendering_options": null
      },
      "livemode": false,
      "metadata": {},
      "name": null,
      "next_invoice_sequence": 1,
      "phone": "7000028162",
      "preferred_locales": [],
      "shipping": null,
      "tax_exempt": "none",
      "test_clock": null
      },
      {
      "id": "cus_MoehoTNKYRVe26",
      "object": "customer",
      "address": null,
      "balance": 0,
      "created": 1668665764,
      "currency": "inr",
      "default_source": null,
      "delinquent": false,
      "description": null,
      "discount": null,
      "email": "fvs@iv.com",
      "invoice_prefix": "8DCEDA60",
      "invoice_settings": {
      "custom_fields": null,
      "default_payment_method": null,
      "footer": null,
      "rendering_options": null
      },
      "livemode": false,
      "metadata": {},
      "name": "sifjsv",
      "next_invoice_sequence": 2,
      "phone": "1234567890",
      "preferred_locales": [],
      "shipping": null,
      "tax_exempt": "none",
      "test_clock": null
      },
      {
      "id": "cus_MoPMlg13KszYN3",
      "object": "customer",
      "address": null,
      "balance": 0,
      "created": 1668608684,
      "currency": "inr",
      "default_source": null,
      "delinquent": false,
      "description": null,
      "discount": null,
      "email": "sofh@su.com",
      "invoice_prefix": "0B2EEB5D",
      "invoice_settings": {
      "custom_fields": null,
      "default_payment_method": null,
      "footer": null,
      "rendering_options": null
      },
      "livemode": false,
      "metadata": {},
      "name": "osuhs",
      "next_invoice_sequence": 2,
      "phone": "1234567890",
      "preferred_locales": [],
      "shipping": null,
      "tax_exempt": "none",
      "test_clock": null
      },
      {
      "id": "cus_MoPC8gvKMlx7dm",
      "object": "customer",
      "address": null,
      "balance": 0,
      "created": 1668608083,
      "currency": "inr",
      "default_source": null,
      "delinquent": false,
      "description": null,
      "discount": null,
      "email": "fs@g.com",
      "invoice_prefix": "4592BEDC",
      "invoice_settings": {
      "custom_fields": null,
      "default_payment_method": null,
      "footer": null,
      "rendering_options": null
      },
      "livemode": false,
      "metadata": {},
      "name": "Afaf",
      "next_invoice_sequence": 2,
      "phone": "1234567890",
      "preferred_locales": [],
      "shipping": null,
      "tax_exempt": "none",
      "test_clock": null
      },
      {
      "id": "cus_MoOz7609WhikjI",
      "object": "customer",
      "address": null,
      "balance": 0,
      "created": 1668607304,
      "currency": null,
      "default_source": null,
      "delinquent": false,
      "description": null,
      "discount": null,
      "email": "dfuu@affs.com",
      "invoice_prefix": "25CD7994",
      "invoice_settings": {
      "custom_fields": null,
      "default_payment_method": null,
      "footer": null,
      "rendering_options": null
      },
      "livemode": false,
      "metadata": {},
      "name": "Kevin Smith",
      "next_invoice_sequence": 1,
      "phone": "9090909089",
      "preferred_locales": [],
      "shipping": null,
      "tax_exempt": "none",
      "test_clock": null
      },
      {
      "id": "cus_MoLarncjII6Ysw",
      "object": "customer",
      "address": null,
      "balance": 0,
      "created": 1668594673,
      "currency": null,
      "default_source": null,
      "delinquent": false,
      "description": null,
      "discount": null,
      "email": "aoic@iaad.com",
      "invoice_prefix": "E935E75F",
      "invoice_settings": {
      "custom_fields": null,
      "default_payment_method": null,
      "footer": null,
      "rendering_options": null
      },
      "livemode": false,
      "metadata": {},
      "name": "addufad",
      "next_invoice_sequence": 1,
      "phone": "1234567890",
      "preferred_locales": [],
      "shipping": null,
      "tax_exempt": "none",
      "test_clock": null
      },
      {
      "id": "cus_MoLVfPuvfbkqtd",
      "object": "customer",
      "address": null,
      "balance": 0,
      "created": 1668594346,
      "currency": null,
      "default_source": null,
      "delinquent": false,
      "description": null,
      "discount": null,
      "email": null,
      "invoice_prefix": "71DA22EF",
      "invoice_settings": {
      "custom_fields": null,
      "default_payment_method": null,
      "footer": null,
      "rendering_options": null
      },
      "livemode": false,
      "metadata": {},
      "name": "Michael John",
      "next_invoice_sequence": 1,
      "phone": null,
      "preferred_locales": [],
      "shipping": null,
      "tax_exempt": "none",
      "test_clock": null
      }
      ],
      "has_more": true,
      "url": "/v1/customers"
      }
    • listAllCustomersMessage – A message node with the script to display responses for various scenarios.
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to view all customers as shown below:

Create an Invoice

Steps to create an invoice in the Stripe integration:

  1. Refer to the Installing the Stripe templates section to install this template.
  2. The Create an Invoice dialog task is added with the following components:
    • createInvoice – A user intent to create an invoice.
    • name, email, phone, dueDate, productName, productQuantity, and unitAmount – Entity nodes for gathering the required invoice details.
    • createInvoiceScript – A bot action service to create an invoice in an external integration. Click the Plus icon to expand to view the createInvoiceScript bot action component properties.
    • createInvoiceService – A bot action service to create an invoice in an external integration. Click the Plus icon to expand to view the createInvoiceService bot action component properties.
    • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

      Sample Request:

      {
      customer
      cus_N42Fu5I7t3dDyu
      collection_method
      send_invoice
      due_date
      1704067199
      }

    • createInvoiceItemService – A bot action service to create an invoice item in an external integration.
    • createInvoiceMessage – A message node with the script to display responses for various scenarios.
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to create an invoice as shown below:

List All Invoices

Steps to fetch all invoices from the Stripe integration:

  1. Refer to the Installing the Stripe templates section to install this template.
  2. The List All Invoices dialog task is added with the following components:
    • listAllInvoices – A user intent to list all invoices.
    • listAllInvoicesService – A bot action service to fetch all invoices in an external integration. Click the Plus icon to expand to view the listAllInvoicesService bot action component properties.
    • In the Component Properties window, to add one or more responses, scroll down and click +Add Response as shown below:

      Sample Response:

      [
      "object": "list",
      "data": [
      {
      "id": "in_1MJuQrSFoZeLxu29Hpot60d2",
      "object": "invoice",
      "account_country": "IN",
      "account_name": "Kore",
      "account_tax_ids": null,
      "amount_due": 0,
      "amount_paid": 0,
      "amount_remaining": 0,
      "application": null,
      "application_fee_amount": null,
      "attempt_count": 0,
      "attempted": false,
      "auto_advance": false,
      "automatic_tax": {
      "enabled": false,
      "status": null
      },
      "billing_reason": "manual",
      "charge": null,
      "collection_method": "send_invoice",
      "created": 1672213933,
      "currency": "inr",
      "custom_fields": null,
      "customer": "cus_N42Fu5I7t3dDyu",
      "customer_address": null,
      "customer_email": "abc@xyz.com",
      "customer_name": "Tanmay Agrawal",
      "customer_phone": "7000028162",
      "customer_shipping": null,
      "customer_tax_exempt": "none",
      "customer_tax_ids": [],
      "default_payment_method": null,
      "default_source": null,
      "default_tax_rates": [],
      "description": null,
      "discount": null,
      "discounts": [],
      "due_date": 1704067199,
      "ending_balance": null,
      "footer": null,
      "from_invoice": null,
      "hosted_invoice_url": null,
      "invoice_pdf": null,
      "last_finalization_error": null,
      "latest_revision": null,
      "lines": {
      "object": "list",
      "data": [],
      "has_more": false,
      "total_count": 0,
      "url": "/v1/invoices/in_1MJuQrSFoZeLxu29Hpot60d2/lines"
      },
      "livemode": false,
      "metadata": {},
      "next_payment_attempt": null,
      "number": null,
      "on_behalf_of": null,
      "paid": false,
      "paid_out_of_band": false,
      "payment_intent": null,
      "payment_settings": {
      "default_mandate": null,
      "payment_method_options": null,
      "payment_method_types": null
      },
      "period_end": 1672213933,
      "period_start": 1672213933,
      "post_payment_credit_notes_amount": 0,
      "pre_payment_credit_notes_amount": 0,
      "quote": null,
      "receipt_number": null,
      "rendering_options": null,
      "starting_balance": 0,
      "statement_descriptor": null,
      "status": "draft",
      "status_transitions": {
      "finalized_at": null,
      "marked_uncollectible_at": null,
      "paid_at": null,
      "voided_at": null
      },
      "subscription": null,
      "subtotal": 0,
      "subtotal_excluding_tax": 0,
      "tax": null,
      "test_clock": null,
      "total": 0,
      "total_discount_amounts": [],
      "total_excluding_tax": 0,
      "total_tax_amounts": [],
      "transfer_data": null,
      "webhooks_delivered_at": 1672213933
      },
      {
      "id": "in_1M51OLSFoZeLxu29CinEAuPN",
      "object": "invoice",
      "account_country": "IN",
      "account_name": "Kore",
      "account_tax_ids": null,
      "amount_due": 1000000,
      "amount_paid": 0,
      "amount_remaining": 1000000,
      "application": null,
      "application_fee_amount": null,
      "attempt_count": 0,
      "attempted": false,
      "auto_advance": false,
      "automatic_tax": {
      "enabled": false,
      "status": null
      },
      "billing_reason": "manual",
      "charge": null,
      "collection_method": "send_invoice",
      "created": 1668665765,
      "currency": "inr",
      "custom_fields": null,
      "customer": "cus_MoehoTNKYRVe26",
      "customer_address": null,
      "customer_email": "fvs@iv.com",
      "customer_name": "sifjsv",
      "customer_phone": "1234567890",
      "customer_shipping": null,
      "customer_tax_exempt": "none",
      "customer_tax_ids": [],
      "default_payment_method": null,
      "default_source": null,
      "default_tax_rates": [],
      "description": null,
      "discount": null,
      "discounts": [],
      "due_date": 1671692400,
      "ending_balance": 0,
      "footer": null,
      "from_invoice": null,
      "hosted_invoice_url":
      "last_finalization_error": null,
      "latest_revision": null,
      "lines": {
      "object": "list",
      "data": [
      {
      "id": "il_1M51OLSFoZeLxu29AoKrzSrN",
      "object": "line_item",
      "amount": 1000000,
      "amount_excluding_tax": 1000000,
      "currency": "inr",
      "description": "uuttl",
      "discount_amounts": [],
      "discountable": true,
      "discounts": [],
      "invoice_item": "ii_1M51OLSFoZeLxu29JYoVyeY5",
      "livemode": false,
      "metadata": {},
      "period": {
      "end": 1668665765,
      "start": 1668665765
      },
      "plan": null,
      "price": {
      "id": "price_1M51OLSFoZeLxu29NW1RuC8g",
      "object": "price",
      "active": false,
      "billing_scheme": "per_unit",
      "created": 1668665765,
      "currency": "inr",
      "custom_unit_amount": null,
      "livemode": false,
      "lookup_key": null,
      "metadata": {},
      "nickname": null,
      "product": "prod_MoehlWyJkRdwgS",
      "recurring": null,
      "tax_behavior": "unspecified",
      "tiers_mode": null,
      "transform_quantity": null,
      "type": "one_time",
      "unit_amount": 500000,
      "unit_amount_decimal": "500000"
      },
      "proration": false,
      "proration_details": {
      "credited_items": null
      },
      "quantity": 2,
      "subscription": null,
      "tax_amounts": [],
      "tax_rates": [],
      "type": "invoiceitem",
      "unit_amount_excluding_tax": "500000"
      }
      ],
      "has_more": false,
      "total_count": 1,
      "url": "/v1/invoices/in_1M51OLSFoZeLxu29CinEAuPN/lines"
      },
      "livemode": false,
      "metadata": {},
      "next_payment_attempt": null,
      "number": "8DCEDA60-0001",
      "on_behalf_of": null,
      "paid": false,
      "paid_out_of_band": false,
      "payment_intent": "pi_3M51ONSFoZeLxu290bGHhjsQ",
      "payment_settings": {
      "default_mandate": null,
      "payment_method_options": null,
      "payment_method_types": null
      },
      "period_end": 1668665765,
      "period_start": 1668665765,
      "post_payment_credit_notes_amount": 0,
      "pre_payment_credit_notes_amount": 0,
      "quote": null,
      "receipt_number": null,
      "rendering_options": null,
      "starting_balance": 0,
      "statement_descriptor": null,
      "status": "open",
      "status_transitions": {
      "finalized_at": 1668665766,
      "marked_uncollectible_at": null,
      "paid_at": null,
      "voided_at": null
      },
      "subscription": null,
      "subtotal": 1000000,
      "subtotal_excluding_tax": 1000000,
      "tax": null,
      "test_clock": null,
      "total": 1000000,
      "total_discount_amounts": [],
      "total_excluding_tax": 1000000,
      "total_tax_amounts": [],
      "transfer_data": null,
      "webhooks_delivered_at": 1668665765
      },
      {
      "id": "in_1M4mO0SFoZeLxu29DKFkhfsO",
      "object": "invoice",
      "account_country": "IN",
      "account_name": "Kore",
      "account_tax_ids": null,
      "amount_due": 50000000,
      "amount_paid": 0,
      "amount_remaining": 50000000,
      "application": null,
      "application_fee_amount": null,
      "attempt_count": 0,
      "attempted": false,
      "auto_advance": false,
      "automatic_tax": {
      "enabled": false,
      "status": null
      },
      "billing_reason": "manual",
      "charge": null,
      "collection_method": "send_invoice",
      "created": 1668608084,
      "currency": "inr",
      "custom_fields": null,
      "customer": "cus_MoPC8gvKMlx7dm",
      "customer_address": null,
      "customer_email": "fs@g.com",
      "customer_name": "Afaf",
      "customer_phone": "1234567890",
      "customer_shipping": null,
      "customer_tax_exempt": "none",
      "customer_tax_ids": [],
      "default_payment_method": null,
      "default_source": null,
      "default_tax_rates": [],
      "description": null,
      "discount": null,
      "discounts": [],
      "due_date": 1669438800,
      "ending_balance": 0,
      "footer": null,
      "from_invoice": null,
      "hosted_invoice_url":
      "last_finalization_error": null,
      "latest_revision": null,
      "lines": {
      "object": "list",
      "data": [
      {
      "id": "il_1M4mO1SFoZeLxu29VCaYVgXy",
      "object": "line_item",
      "amount": 50000000,
      "amount_excluding_tax": 50000000,
      "currency": "inr",
      "description": "Car",
      "discount_amounts": [],
      "discountable": true,
      "discounts": [],
      "invoice_item": "ii_1M4mO1SFoZeLxu2945Hl3pAW",
      "livemode": false,
      "metadata": {},
      "period": {
      "end": 1668608085,
      "start": 1668608085
      },
      "plan": null,
      "price": {
      "id": "price_1M4mO1SFoZeLxu29RJHNzS1O",
      "object": "price",
      "active": false,
      "billing_scheme": "per_unit",
      "created": 1668608085,
      "currency": "inr",
      "custom_unit_amount": null,
      "livemode": false,
      "lookup_key": null,
      "metadata": {},
      "nickname": null,
      "product": "prod_MoPCjtWBmV0OYn",
      "recurring": null,
      "tax_behavior": "unspecified",
      "tiers_mode": null,
      "transform_quantity": null,
      "type": "one_time",
      "unit_amount": 50000000,
      "unit_amount_decimal": "50000000"
      },
      "proration": false,
      "proration_details": {
      "credited_items": null
      },
      "quantity": 1,
      "subscription": null,
      "tax_amounts": [],
      "tax_rates": [],
      "type": "invoiceitem",
      "unit_amount_excluding_tax": "50000000"
      }
      ],
      "has_more": false,
      "total_count": 1,
      "url": "/v1/invoices/in_1M4mO0SFoZeLxu29DKFkhfsO/lines"
      },
      "livemode": false,
      "metadata": {},
      "next_payment_attempt": null,
      "number": "4592BEDC-0001",
      "on_behalf_of": null,
      "paid": false,
      "paid_out_of_band": false,
      "payment_intent": "pi_3M4mO2SFoZeLxu290TwK43Vu",
      "payment_settings": {
      "default_mandate": null,
      "payment_method_options": null,
      "payment_method_types": null
      },
      "period_end": 1668608084,
      "period_start": 1668608084,
      "post_payment_credit_notes_amount": 0,
      "pre_payment_credit_notes_amount": 0,
      "quote": null,
      "receipt_number": null,
      "rendering_options": null,
      "starting_balance": 0,
      "statement_descriptor": null,
      "status": "open",
      "status_transitions": {
      "finalized_at": 1668608086,
      "marked_uncollectible_at": null,
      "paid_at": null,
      "voided_at": null
      },
      "subscription": null,
      "subtotal": 50000000,
      "subtotal_excluding_tax": 50000000,
      "tax": null,
      "test_clock": null,
      "total": 50000000,
      "total_discount_amounts": [],
      "total_excluding_tax": 50000000,
      "total_tax_amounts": [],
      "transfer_data": null,
      "webhooks_delivered_at": 1668608084
      },
      {
      "id": "in_1LuVm9SFoZeLxu29NdxJebPB",
      "object": "invoice",
      "account_country": "IN",
      "account_name": "Kore",
      "account_tax_ids": null,
      "amount_due": 3559110,
      "amount_paid": 0,
      "amount_remaining": 3559110,
      "application": null,
      "application_fee_amount": null,
      "attempt_count": 0,
      "attempted": false,
      "auto_advance": false,
      "automatic_tax": {
      "enabled": false,
      "status": null
      },
      "billing_reason": "manual",
      "charge": null,
      "collection_method": "send_invoice",
      "created": 1666160953,
      "currency": "inr",
      "custom_fields": null,
      "customer": "cus_MbY9Ce4b1x2QD6",
      "customer_address": null,
      "customer_email": "trag.24.04@gmail.com",
      "customer_name": "Tanmay Agrawal",
      "customer_phone": "7000028161",
      "customer_shipping": null,
      "customer_tax_exempt": "none",
      "customer_tax_ids": [],
      "default_payment_method": null,
      "default_source": null,
      "default_tax_rates": [],
      "description": null,
      "discount": null,
      "discounts": [],
      "due_date": 1668105000,
      "ending_balance": null,
      "footer": null,
      "from_invoice": null,
      "hosted_invoice_url": null,
      "invoice_pdf": null,
      "last_finalization_error": null,
      "latest_revision": null,
      "lines": {
      "object": "list",
      "data": [
      {
      "id": "il_1LuVndSFoZeLxu29l7AgoRlj",
      "object": "line_item",
      "amount": 3555555,
      "amount_excluding_tax": 3555555,
      "currency": "inr",
      "description": "sfsf",
      "discount_amounts": [],
      "discountable": true,
      "discounts": [],
      "invoice_item": "ii_1LuVndSFoZeLxu29fwQOCvru",
      "livemode": false,
      "metadata": {},
      "period": {
      "end": 1666161045,
      "start": 1666161045
      },
      "plan": null,
      "price": {
      "id": "price_1LuVnSSFoZeLxu29PJBUQR5N",
      "object": "price",
      "active": false,
      "billing_scheme": "per_unit",
      "created": 1666161034,
      "currency": "inr",
      "custom_unit_amount": null,
      "livemode": false,
      "lookup_key": null,
      "metadata": {},
      "nickname": null,
      "product": "prod_MdnOtDUTW3XRdu",
      "recurring": null,
      "tax_behavior": "unspecified",
      "tiers_mode": null,
      "transform_quantity": null,
      "type": "one_time",
      "unit_amount": 1,
      "unit_amount_decimal": "1"
      },
      "proration": false,
      "proration_details": {
      "credited_items": null
      },
      "quantity": 3555555,
      "subscription": null,
      "tax_amounts": [],
      "tax_rates": [],
      "type": "invoiceitem",
      "unit_amount_excluding_tax": "1"
      },
      {
      "id": "in_1LuVl5SFoZeLxu293cqXtIjc",
      "object": "invoice",
      "account_country": "IN",
      "account_name": "Kore",
      "account_tax_ids": null,
      "amount_due": 0,
      "amount_paid": 0,
      "amount_remaining": 0,
      "application": null,
      "application_fee_amount": null,
      "attempt_count": 0,
      "attempted": false,
      "auto_advance": false,
      "automatic_tax": {
      "enabled": false,
      "status": null
      },
      "billing_reason": "manual",
      "charge": null,
      "collection_method": "send_invoice",
      "created": 1666160887,
      "currency": "inr",
      "custom_fields": null,
      "customer": "cus_MbY9Ce4b1x2QD6",
      "customer_address": null,
      "customer_email": "trag.24.04@gmail.com",
      "customer_name": "Tanmay Agrawal",
      "customer_phone": "7000028161",
      "customer_shipping": null,
      "customer_tax_exempt": "none",
      "customer_tax_ids": [],
      "default_payment_method": null,
      "default_source": null,
      "default_tax_rates": [],
      "description": null,
      "discount": null,
      "discounts": [],
      "due_date": 1668105000,
      "ending_balance": null,
      "footer": null,
      "from_invoice": null,
      "hosted_invoice_url": null,
      "invoice_pdf": null,
      "last_finalization_error": null,
      "latest_revision": null,
      "lines": {
      "object": "list",
      "data": [],
      "has_more": false,
      "total_count": 0,
      "url": "/v1/invoices/in_1LuVl5SFoZeLxu293cqXtIjc/lines"
      },
      "livemode": false,
      "metadata": {},
      "next_payment_attempt": null,
      "number": null,
      "on_behalf_of": null,
      "paid": false,
      "paid_out_of_band": false,
      "payment_intent": null,
      "payment_settings": {
      "default_mandate": null,
      "payment_method_options": null,
      "payment_method_types": null
      },
      "period_end": 1666160887,
      "period_start": 1666160887,
      "post_payment_credit_notes_amount": 0,
      "pre_payment_credit_notes_amount": 0,
      "quote": null,
      "receipt_number": null,
      "rendering_options": null,
      "starting_balance": 0,
      "statement_descriptor": null,
      "status": "draft",
      "status_transitions": {
      "finalized_at": null,
      "marked_uncollectible_at": null,
      "paid_at": null,
      "voided_at": null
      },
      "subscription": null,
      "subtotal": 0,
      "subtotal_excluding_tax": 0,
      "tax": null,
      "test_clock": null,
      "total": 0,
      "total_discount_amounts": [],
      "total_excluding_tax": 0,
      "total_tax_amounts": [],
      "transfer_data": null,
      "webhooks_delivered_at": 1666160887
      },
      ],
      "has_more": true,
      "url": "/v1/invoices"
      }
      }
      ]

    • listAllInvoicesMessage – A message node with script to display responses for various scenarios.
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to view all invoices.

Create a Payment Intent

Steps to create a payment intent in the Stripe integration:

  1. Refer to the Installing the Stripe templates section to install this template.
  2. The Create a Payment Intent dialog task is added with the following components:
    • createPaymentIntent – A user intent to make payments.
    • currency, amount, and customer – Entity nodes for gathering the required payment details.
    • createPaymentIntentService – A bot action service to make payments in an external integration. Click the Plus icon to expand to view the createPaymentIntentService bot action component properties.
    • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:
    • createPaymentIntentMessage – A message node with the script to display responses for various scenarios.
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to create payment intents as shown below:
메뉴