Skip to main content
Back to Actions Integrations Use prebuilt Stripe action templates to auto-create dialog tasks for managing customers, invoices, and payments. To access templates:
  1. Go to Automation AI > Use Cases > Dialogs and click Create a Dialog Task.
  2. Under Integration, select Stripe. Integration - Stripe
  3. If no integration is configured, click Explore Integrations to set one up. See Actions Overview. Explore Integrations

Supported Actions

TaskDescriptionMethod
Create a CustomerCreates a customer in the Stripe system.POST
List All CustomersRetrieves all customers from the Stripe system.GET
Create InvoiceCreates a new invoice in the system.POST
List All InvoicesRetrieves all invoices in the Stripe system.GET
Create a Payment IntentCreates a payment intent in the Stripe system.POST

Create a Customer

  1. Install the template from Stripe Action Templates.
  2. The Create a Customer dialog task is added with the following components: Create a Customer dialog task is added
    • createCustomer – User intent to create a customer.
    • name, email, phone – Entity nodes for customer details.
    • createCustomerService – Bot action service to create a customer. Click Edit Request: Create customer - Edit response Sample Response:
      {
        "id": "cus_N42Fu5I7t3dDyu",
        "object": "customer",
        "email": "abc@xyz.com",
        "name": "Alan Walker",
        "phone": "7000028162",
        "livemode": false
      }
      
    • createCustomerMessage – Message node to display responses.
  3. Click Train, then Talk to Bot to test: VA prompt to create customer

List All Customers

  1. Install the template from Stripe Action Templates.
  2. The List All Customers dialog task is added with the following components: List All Customers dialog task is added
    • listAllCustomers – User intent to view all customers.
    • listAllCustomersService – Bot action service to fetch all customers. Click Edit Request: List all customers - Edit Request Click +Add Response for sample responses.
    • listAllCustomersMessage – Message node to display responses.
  3. Click Train, then Talk to Bot to test: List all customers - Edit Request

Create an Invoice

  1. Install the template from Stripe Action Templates.
  2. The Create an Invoice dialog task is added with the following components: Create an Invoice dialog task is added
    • createInvoice – User intent to create an invoice.
    • name, email, phone, dueDate, productName, productQuantity, unitAmount – Entity nodes for invoice details.
    • createInvoiceScript – Bot action service to prepare invoice data. createInvoiceScript bot action component properties
    • createInvoiceService – Bot action service to create an invoice. Click Edit Request: Create an Invoice - Edit request Sample Request:
      customer: cus_N42Fu5I7t3dDyu
      collection_method: send_invoice
      due_date: 1704067199
      
    • createInvoiceItemService – Bot action service to create an invoice item.
    • createInvoiceMessage – Message node to display responses.
  3. Click Train, then Talk to Bot to test: VA prompt to create an invoice

List All Invoices

  1. Install the template from Stripe Action Templates.
  2. The List All Invoices dialog task is added with the following components: List All Invoices dialog task is added
    • listAllInvoices – User intent to list all invoices.
    • listAllInvoicesService – Bot action service to fetch all invoices. Click +Add Response: List All Invoices - Add response
    • listAllInvoicesMessage – Message node to display responses.
  3. Click Train, then Talk to Bot to test and follow prompts to view all invoices.

Create a Payment Intent

  1. Install the template from Stripe Action Templates.
  2. The Create a Payment Intent dialog task is added with the following components: Create a Payment Intent dialog task is added
    • createPaymentIntent – User intent to make payments.
    • currency, amount, customer – Entity nodes for payment details.
    • createPaymentIntentService – Bot action service to create a payment intent. Click Edit Request: Create a Payment Intent - Edit request
    • createPaymentIntentMessage – Message node to display responses.
  3. Click Train, then Talk to Bot to test: VA prompt to Create a Payment Intent