Upload your Action package (Dialogflow)
Stay organized with collections
Save and categorize content based on your preferences.
Once you create your Action package and deploy its fulfillment,
you can upload your Action package to the Actions console. The Actions console
uses Action projects to group your Conversational Action with metadata, like its review
status and display name in the Assistant directory.
Create a project
- Go to the Actions console.
- Click New Project, enter name for the project, and click Create Project.
- In the More options section, click Actions SDK.
- In the modal window that appears, write down or save the
gactions
command
provided. You'll use a command similar to this to upload your Action package.
- Click OK to finish creating your project.
Now that your project is created, you can reference it using its project ID.
Upload Action package using gactions
The gactions
command provided by the Actions console contains placeholder
values for the package name of your Action package and for your project ID. To
upload your Action package from the terminal, run the following command,
replacing PACKAGE_NAME
and PROJECT_ID
with the relevant values for your
project:
gactions update --action_package PACKAGE_NAME --project PROJECT_ID
In the above command, the package name is the file name for your Actions package
.JSON
file (including the file extension). You can get your project ID on the
Project settings page in the Actions console.
For reference information about the Action package itself, see the
Action package reference.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eAfter creating and deploying your Action package and fulfillment, you need to upload it to the Actions console using an Action project for organization and management.\u003c/p\u003e\n"],["\u003cp\u003eTo begin, create a new Actions SDK project in the Actions console, noting the provided \u003ccode\u003egactions\u003c/code\u003e command for later use.\u003c/p\u003e\n"],["\u003cp\u003eUpload your Action package using the \u003ccode\u003egactions\u003c/code\u003e command, replacing placeholders with your package name and project ID, found in the console.\u003c/p\u003e\n"]]],[],null,["# Upload your Action package (Dialogflow)\n\nOnce you [create your Action package](/assistant/df-asdk/actions-sdk/define-actions) and [deploy its fulfillment](/assistant/df-asdk/deploy-fulfillment),\nyou can upload your Action package to the Actions console. The Actions console\nuses Action projects to group your Conversational Action with metadata, like its review\nstatus and display name in the Assistant directory.\n\nCreate a project\n----------------\n\n1. Go to the [Actions console](//console.actions.google.com/).\n2. Click **New Project** , enter name for the project, and click **Create Project**.\n3. In the **More options** section, click **Actions SDK**.\n4. In the modal window that appears, write down or save the `gactions` command provided. You'll use a command similar to this to upload your Action package.\n5. Click **OK** to finish creating your project.\n\nNow that your project is created, you can reference it using its project ID.\n\nUpload Action package using gactions\n------------------------------------\n\nThe `gactions` command provided by the Actions console contains placeholder\nvalues for the package name of your Action package and for your project ID. To\nupload your Action package from the terminal, run the following command,\nreplacing `PACKAGE_NAME` and `PROJECT_ID` with the relevant values for your\nproject: \n\n```\ngactions update --action_package PACKAGE_NAME --project PROJECT_ID\n```\n\nIn the above command, the package name is the file name for your Actions package\n`.JSON` file (including the file extension). You can get your project ID on the\n**Project settings** page in the Actions console.\n\nFor reference information about the Action package itself, see the\n[Action package reference](/assistant/df-asdk/reference/action-package/rest/Shared.Types/ActionPackage)."]]